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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008601/0.0008598, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008856/0.0008857, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04578/0.04578, allocations: 9.062 MB / 279.5 MB, free: 12.25 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005251/0.0005253, allocations: 16 kB / 339.1 MB, free: 26 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09232/0.09286, allocations: 49.2 MB / 388.3 MB, free: 8.754 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.MaxwellLoop): time 0.01903/0.1119, allocations: 16.19 MB / 404.5 MB, free: 8.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002921/0.1149, allocations: 2.311 MB / 406.8 MB, free: 6.184 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.316e-05/0.115, allocations: 4 kB / 406.8 MB, free: 6.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009975/0.116, allocations: 310.6 kB / 407.1 MB, free: 5.875 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006947/0.123, allocations: 2.559 MB / 409.7 MB, free: 3.309 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.737e-05/0.1231, allocations: 8 kB / 409.7 MB, free: 3.301 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.1233, allocations: 183 kB / 409.9 MB, free: 3.121 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.119e-05/0.1233, allocations: 9.844 kB / 409.9 MB, free: 3.109 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/0.1235, allocations: 83.52 kB / 410 MB, free: 3.027 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.634e-05/0.1236, allocations: 63.7 kB / 410 MB, free: 2.965 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.1237, allocations: 0 / 410 MB, free: 2.965 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00899/0.1327, allocations: 5.325 MB / 415.4 MB, free: 13.63 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.236e-05/0.1327, allocations: 11.92 kB / 415.4 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.1329, allocations: 53.58 kB / 415.4 MB, free: 13.56 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002784/0.1356, allocations: 1.439 MB / 416.9 MB, free: 12.12 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1357, allocations: 0 / 416.9 MB, free: 12.12 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1357, allocations: 4 kB / 416.9 MB, free: 12.11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.1357, allocations: 0 / 416.9 MB, free: 12.11 MB / 318.1 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.001295/0.137, allocations: 0.6743 MB / 417.5 MB, free: 11.39 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.137, allocations: 8.031 kB / 417.5 MB, free: 11.38 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000134/0.1372, allocations: 39.69 kB / 417.6 MB, free: 11.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.1373, allocations: 175 kB / 417.8 MB, free: 11.13 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.1374, allocations: 11.92 kB / 417.8 MB, free: 11.12 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.1374, allocations: 7.938 kB / 417.8 MB, free: 11.11 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003311/0.1377, allocations: 166.5 kB / 417.9 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.1377, allocations: 0 / 417.9 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.1378, allocations: 0 / 417.9 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.1378, allocations: 11.98 kB / 418 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004038/0.1382, allocations: 212.2 kB / 418.2 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002708/0.1385, allocations: 282.4 kB / 418.4 MB, free: 10.4 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.1388, allocations: 182.8 kB / 418.6 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002576/0.1391, allocations: 181.8 kB / 418.8 MB, free: 10.04 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2128/0.3519, allocations: 10.71 MB / 429.5 MB, free: 45.67 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/0.352, allocations: 36.27 kB / 429.5 MB, free: 45.63 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 2.354e-06/0.352, allocations: 0 / 429.5 MB, free: 45.63 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009422/0.3529, allocations: 486.6 kB / 430 MB, free: 45.59 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.353, allocations: 53.22 kB / 430.1 MB, free: 45.53 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.3531, allocations: 128.8 kB / 430.2 MB, free: 45.43 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.3531, allocations: 30.55 kB / 430.2 MB, free: 45.4 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.973e-05/0.3531, allocations: 88.42 kB / 430.3 MB, free: 45.31 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.995e-05/0.3532, allocations: 111.3 kB / 430.4 MB, free: 45.26 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.209e-06/0.3532, allocations: 0 / 430.4 MB, free: 45.26 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.035e-05/0.3533, allocations: 328.6 kB / 430.7 MB, free: 44.95 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000237/0.3536, allocations: 132.3 kB / 430.9 MB, free: 44.95 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.3538, allocations: 134.7 kB / 431 MB, free: 44.94 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002253/0.354, allocations: 150.9 kB / 431.1 MB, free: 44.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.354, allocations: 0 / 431.1 MB, free: 44.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004992/0.3545, allocations: 348.5 kB / 431.5 MB, free: 44.86 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.3545, allocations: 7.938 kB / 431.5 MB, free: 44.86 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.3546, allocations: 4.125 kB / 431.5 MB, free: 44.86 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.3546, allocations: 1.031 kB / 431.5 MB, free: 44.86 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.3547, allocations: 28.92 kB / 431.5 MB, free: 44.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.3547, allocations: 0 / 431.5 MB, free: 44.86 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.3548, allocations: 28.02 kB / 431.6 MB, free: 44.85 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.3549, allocations: 3.156 kB / 431.6 MB, free: 44.85 MB / 318.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.489e-05/0.355, allocations: 122.9 kB / 431.7 MB, free: 44.74 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.355, allocations: 14.19 kB / 431.7 MB, free: 44.73 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006903/0.3557, allocations: 399.3 kB / 432.1 MB, free: 44.66 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.3557, allocations: 4.141 kB / 432.1 MB, free: 44.66 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3557, allocations: 1.156 kB / 432.1 MB, free: 44.66 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3557, allocations: 0.7031 kB / 432.1 MB, free: 44.66 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002463/0.356, allocations: 274 kB / 432.4 MB, free: 44.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.356, allocations: 0 / 432.4 MB, free: 44.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.3561, allocations: 23.78 kB / 432.4 MB, free: 44.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3561, allocations: 0.9062 kB / 432.4 MB, free: 44.46 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.3562, allocations: 5.609 kB / 432.4 MB, free: 44.46 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3562, allocations: 3.281 kB / 432.4 MB, free: 44.46 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.614e-06/0.3562, allocations: 4.922 kB / 432.4 MB, free: 44.45 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006694/0.3568, allocations: 391.6 kB / 432.8 MB, free: 44.35 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.829e-05/0.3569, allocations: 101.9 kB / 432.9 MB, free: 44.25 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.3569, allocations: 2.531 kB / 432.9 MB, free: 44.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.3571, allocations: 16.33 kB / 432.9 MB, free: 44.25 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.3571, allocations: 11.16 kB / 432.9 MB, free: 44.24 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.445e-06/0.3571, allocations: 4.531 kB / 432.9 MB, free: 44.24 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.765e-05/0.3572, allocations: 101.6 kB / 433 MB, free: 44.17 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3572, allocations: 0 / 433 MB, free: 44.17 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00162/0.3588, allocations: 488 kB / 433.5 MB, free: 44.16 MB / 318.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002275/0.3611, allocations: 0.716 MB / 434.2 MB, free: 44.01 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005805/0.3617, allocations: 319.2 kB / 434.5 MB, free: 43.95 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3617, allocations: 0 / 434.5 MB, free: 43.95 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000261/0.362, allocations: 176.6 kB / 434.7 MB, free: 43.87 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005319/0.3625, allocations: 71.75 kB / 434.7 MB, free: 43.86 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005978/0.3631, allocations: 441.9 kB / 435.2 MB, free: 43.59 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.3633, allocations: 0.7198 MB / 435.9 MB, free: 42.88 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.3634, allocations: 27.48 kB / 435.9 MB, free: 42.88 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.149e-05/0.3634, allocations: 16.97 kB / 435.9 MB, free: 42.87 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3634, allocations: 0 / 435.9 MB, free: 42.87 MB / 318.1 MB Notification: Performance of Templates: time 0.02451/0.3879, allocations: 20.41 MB / 456.4 MB, free: 28.05 MB / 318.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: