Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.Validation.MaxwellLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop") translateModel(HelmholtzMedia.Examples.Validation.MaxwellLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001646/0.001646, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.07259/0.07259, allocations: 9.089 MB / 25.82 MB, free: 3.426 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.259/1.259, allocations: 205.1 MB / 233.2 MB, free: 14.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001002/0.001002, allocations: 95.55 kB / 282.1 MB, free: 15.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001003/0.001003, allocations: 63.89 kB / 341.1 MB, free: 4.082 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1992, allocations: 48.15 MB / 389.2 MB, free: 38.53 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.MaxwellLoop): time 0.01313/0.2123, allocations: 17.76 MB / 407 MB, free: 20.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002227/0.2146, allocations: 2.559 MB / 409.5 MB, free: 18.13 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.223e-05/0.2147, allocations: 0 / 409.5 MB, free: 18.13 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007545/0.2155, allocations: 349.7 kB / 409.9 MB, free: 17.79 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006002/0.2215, allocations: 2.64 MB / 412.5 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.313e-05/0.2215, allocations: 15.98 kB / 412.5 MB, free: 15.13 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.2217, allocations: 191 kB / 412.7 MB, free: 14.94 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.997e-05/0.2217, allocations: 13.55 kB / 412.7 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.2219, allocations: 87.53 kB / 412.8 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.421e-05/0.222, allocations: 59.66 kB / 412.9 MB, free: 14.78 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.222, allocations: 4 kB / 412.9 MB, free: 14.78 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007187/0.2292, allocations: 5.832 MB / 418.7 MB, free: 8.934 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.271e-05/0.2293, allocations: 15.88 kB / 418.7 MB, free: 8.918 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.846e-05/0.2293, allocations: 55.67 kB / 418.8 MB, free: 8.863 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00426/0.2336, allocations: 2.642 MB / 421.4 MB, free: 6.215 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2336, allocations: 4 kB / 421.4 MB, free: 6.211 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.2337, allocations: 3.984 kB / 421.4 MB, free: 6.207 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.2337, allocations: 3.938 kB / 421.4 MB, free: 6.203 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001364/0.235, allocations: 0.6626 MB / 422.1 MB, free: 5.492 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.2351, allocations: 12.03 kB / 422.1 MB, free: 5.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.2352, allocations: 35.78 kB / 422.2 MB, free: 5.445 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.2354, allocations: 186.7 kB / 422.3 MB, free: 5.223 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.2354, allocations: 0 / 422.3 MB, free: 5.223 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.2354, allocations: 4 kB / 422.3 MB, free: 5.219 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002951/0.2357, allocations: 166.4 kB / 422.5 MB, free: 5.051 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.2357, allocations: 0 / 422.5 MB, free: 5.051 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.2357, allocations: 7.938 kB / 422.5 MB, free: 5.043 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.2358, allocations: 11.98 kB / 422.5 MB, free: 5.031 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003418/0.2361, allocations: 188.1 kB / 422.7 MB, free: 4.848 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002035/0.2363, allocations: 274.4 kB / 423 MB, free: 4.531 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.2366, allocations: 182.8 kB / 423.2 MB, free: 4.344 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002074/0.2368, allocations: 161.1 kB / 423.3 MB, free: 4.184 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01864/0.2554, allocations: 10.95 MB / 434.3 MB, free: 7.426 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.2555, allocations: 30.56 kB / 434.3 MB, free: 7.387 MB / 314.7 MB Notification: Performance of pre-optimization done (n=34): time 2.565e-06/0.2555, allocations: 0 / 434.3 MB, free: 7.387 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.0008827/0.2564, allocations: 464.2 kB / 434.7 MB, free: 6.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.2565, allocations: 51.41 kB / 434.8 MB, free: 6.867 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.2566, allocations: 132.2 kB / 434.9 MB, free: 6.73 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.2566, allocations: 29.7 kB / 434.9 MB, free: 6.695 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.325e-05/0.2567, allocations: 88.8 kB / 435 MB, free: 6.605 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.956e-05/0.2567, allocations: 106.4 kB / 435.1 MB, free: 6.5 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-05/0.2568, allocations: 37.61 kB / 435.2 MB, free: 6.457 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.2569, allocations: 322.8 kB / 435.5 MB, free: 6.133 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/0.2572, allocations: 119.9 kB / 435.6 MB, free: 6.016 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/0.2574, allocations: 119.9 kB / 435.7 MB, free: 5.898 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004663/0.2579, allocations: 299.6 kB / 436 MB, free: 5.602 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2579, allocations: 0 / 436 MB, free: 5.602 MB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005053/0.2584, allocations: 335.2 kB / 436.3 MB, free: 5.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.2584, allocations: 4 kB / 436.3 MB, free: 5.266 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.597e-05/0.2585, allocations: 0 / 436.3 MB, free: 5.266 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.2585, allocations: 0 / 436.3 MB, free: 5.266 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.2586, allocations: 19.98 kB / 436.4 MB, free: 5.246 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.2586, allocations: 4 kB / 436.4 MB, free: 5.242 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.2587, allocations: 31.66 kB / 436.4 MB, free: 5.211 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.2588, allocations: 0 / 436.4 MB, free: 5.211 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.482e-05/0.2589, allocations: 121.8 kB / 436.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.118e-05/0.2589, allocations: 11.81 kB / 436.5 MB, free: 5.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005786/0.2595, allocations: 376.6 kB / 436.9 MB, free: 4.699 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.2595, allocations: 7.984 kB / 436.9 MB, free: 4.691 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.2595, allocations: 0 / 436.9 MB, free: 4.691 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.2595, allocations: 3.938 kB / 436.9 MB, free: 4.688 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.2597, allocations: 269.9 kB / 437.2 MB, free: 4.375 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.2597, allocations: 3.984 kB / 437.2 MB, free: 4.371 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.2598, allocations: 23.98 kB / 437.2 MB, free: 4.348 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2598, allocations: 0 / 437.2 MB, free: 4.348 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.2598, allocations: 3.984 kB / 437.2 MB, free: 4.344 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2599, allocations: 0 / 437.2 MB, free: 4.344 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.2599, allocations: 0 / 437.2 MB, free: 4.344 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009861/0.2608, allocations: 1.09 MB / 438.3 MB, free: 3.191 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-05/0.2609, allocations: 104.8 kB / 438.4 MB, free: 3.07 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.2609, allocations: 0 / 438.4 MB, free: 3.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.2611, allocations: 19.97 kB / 438.4 MB, free: 3.051 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.2611, allocations: 4 kB / 438.4 MB, free: 3.047 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.2611, allocations: 3.984 kB / 438.4 MB, free: 3.043 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.58e-05/0.2612, allocations: 110.9 kB / 438.5 MB, free: 2.938 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.202e-06/0.2612, allocations: 0 / 438.5 MB, free: 2.938 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001241/0.2624, allocations: 491.8 kB / 439 MB, free: 2.457 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002179/0.2646, allocations: 0.711 MB / 439.7 MB, free: 1.734 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005393/0.2652, allocations: 296.2 kB / 440 MB, free: 1.445 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2652, allocations: 0 / 440 MB, free: 1.445 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002558/0.2655, allocations: 167.9 kB / 440.2 MB, free: 1.281 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004791/0.2659, allocations: 70.67 kB / 440.2 MB, free: 1.215 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007322/0.2667, allocations: 0.6316 MB / 440.9 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.2669, allocations: 0.7279 MB / 441.6 MB, free: 15.79 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001003/0.267, allocations: 27.89 kB / 441.6 MB, free: 15.76 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.081e-05/0.2671, allocations: 23.36 kB / 441.7 MB, free: 15.74 MB / 330.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2671, allocations: 0 / 441.7 MB, free: 15.74 MB / 330.7 MB Notification: Performance of Templates: time 0.02544/0.2925, allocations: 20.4 MB / 462.1 MB, free: 11.32 MB / 346.7 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.pipe 2>&1)