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.001012/0.001012, allocations: 100.9 kB / 15.05 MB, free: 1.105 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.001067/0.001067, allocations: 177.3 kB / 15.94 MB, free: 228 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.508/1.508, allocations: 205.4 MB / 222.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04394/0.04394, allocations: 9.064 MB / 279.4 MB, free: 12.15 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.0005215/0.0005216, allocations: 16.22 kB / 339.1 MB, free: 26.01 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09049/0.09102, allocations: 49.19 MB / 388.3 MB, free: 8.777 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.MaxwellLoop): time 0.01651/0.1076, allocations: 14.65 MB / 402.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002637/0.1103, allocations: 2.191 MB / 405.1 MB, free: 7.875 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.621e-05/0.1104, allocations: 0 / 405.1 MB, free: 7.875 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008928/0.1113, allocations: 334.9 kB / 405.4 MB, free: 7.547 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006292/0.1176, allocations: 2.592 MB / 408 MB, free: 4.949 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.513e-05/0.1176, allocations: 15.92 kB / 408.1 MB, free: 4.934 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001838/0.1178, allocations: 131.7 kB / 408.2 MB, free: 4.805 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.226e-05/0.1179, allocations: 13.83 kB / 408.2 MB, free: 4.789 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002949/0.1182, allocations: 123.5 kB / 408.3 MB, free: 4.668 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.183e-05/0.1183, allocations: 51.77 kB / 408.4 MB, free: 4.617 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.1183, allocations: 4 kB / 408.4 MB, free: 4.613 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01084/0.1292, allocations: 6.174 MB / 414.5 MB, free: 14.43 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.35e-05/0.1293, allocations: 11.92 kB / 414.6 MB, free: 14.42 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.054e-05/0.1294, allocations: 49.64 kB / 414.6 MB, free: 14.36 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003182/0.1325, allocations: 1.411 MB / 416 MB, free: 12.95 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1326, allocations: 0 / 416 MB, free: 12.95 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1326, allocations: 0 / 416 MB, free: 12.95 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.1326, allocations: 0 / 416 MB, free: 12.95 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.001409/0.134, allocations: 0.6704 MB / 416.7 MB, free: 12.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.134, allocations: 12.03 kB / 416.7 MB, free: 12.22 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.1342, allocations: 35.69 kB / 416.7 MB, free: 12.18 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.1344, allocations: 182.9 kB / 416.9 MB, free: 11.96 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.1344, allocations: 0 / 416.9 MB, free: 11.96 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.1344, allocations: 11.94 kB / 416.9 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003238/0.1347, allocations: 170.4 kB / 417.1 MB, free: 11.78 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.1348, allocations: 4 kB / 417.1 MB, free: 11.78 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1348, allocations: 0 / 417.1 MB, free: 11.78 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.1348, allocations: 4 kB / 417.1 MB, free: 11.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004134/0.1352, allocations: 212.2 kB / 417.3 MB, free: 11.57 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002445/0.1355, allocations: 282.4 kB / 417.6 MB, free: 11.24 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000294/0.1358, allocations: 182.8 kB / 417.8 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1967/0.3325, allocations: 10.76 MB / 428.5 MB, free: 47.02 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.3326, allocations: 35.88 kB / 428.6 MB, free: 46.98 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 2.555e-06/0.3326, allocations: 1.219 kB / 428.6 MB, free: 46.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.001075/0.3337, allocations: 0.6451 MB / 429.2 MB, free: 46.75 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.3337, allocations: 59.78 kB / 429.3 MB, free: 46.69 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.3339, allocations: 126 kB / 429.4 MB, free: 46.59 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.3339, allocations: 27.89 kB / 429.4 MB, free: 46.56 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.059e-05/0.3339, allocations: 87.72 kB / 429.5 MB, free: 46.47 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.816e-05/0.334, allocations: 108.9 kB / 429.6 MB, free: 46.41 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-06/0.334, allocations: 2.438 kB / 429.6 MB, free: 46.41 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.746e-05/0.3341, allocations: 327.6 kB / 429.9 MB, free: 46.1 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002595/0.3344, allocations: 126.5 kB / 430 MB, free: 46.1 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/0.3347, allocations: 131.1 kB / 430.2 MB, free: 46.1 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003022/0.335, allocations: 149 kB / 430.3 MB, free: 46.09 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.335, allocations: 0 / 430.3 MB, free: 46.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006281/0.3356, allocations: 352.6 kB / 430.7 MB, free: 46.02 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.3357, allocations: 8.719 kB / 430.7 MB, free: 46.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.3357, allocations: 2 kB / 430.7 MB, free: 46.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.3357, allocations: 0 / 430.7 MB, free: 46.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.3358, allocations: 29.69 kB / 430.7 MB, free: 46.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.3359, allocations: 3.969 kB / 430.7 MB, free: 46.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.336, allocations: 26.31 kB / 430.7 MB, free: 46.01 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.336, allocations: 2.125 kB / 430.7 MB, free: 46.01 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 7.973e-05/0.3361, allocations: 122.6 kB / 430.9 MB, free: 45.89 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.926e-05/0.3361, allocations: 13.78 kB / 430.9 MB, free: 45.89 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006273/0.3367, allocations: 391 kB / 431.3 MB, free: 45.77 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.3368, allocations: 7.719 kB / 431.3 MB, free: 45.76 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3368, allocations: 0 / 431.3 MB, free: 45.76 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.3368, allocations: 6.594 kB / 431.3 MB, free: 45.76 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.337, allocations: 273.1 kB / 431.5 MB, free: 45.51 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.337, allocations: 7.75 kB / 431.5 MB, free: 45.51 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.3371, allocations: 27.02 kB / 431.6 MB, free: 45.51 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3371, allocations: 0 / 431.6 MB, free: 45.51 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.3371, allocations: 1.938 kB / 431.6 MB, free: 45.51 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3371, allocations: 1.281 kB / 431.6 MB, free: 45.51 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3371, allocations: 3.953 kB / 431.6 MB, free: 45.51 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005736/0.3377, allocations: 390 kB / 432 MB, free: 45.31 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.922e-05/0.3378, allocations: 99.06 kB / 432.1 MB, free: 45.2 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.3378, allocations: 4.234 kB / 432.1 MB, free: 45.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.3379, allocations: 19.47 kB / 432.1 MB, free: 45.2 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.212e-05/0.338, allocations: 14.48 kB / 432.1 MB, free: 45.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.338, allocations: 5.125 kB / 432.1 MB, free: 45.19 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.415e-05/0.3381, allocations: 105.2 kB / 432.2 MB, free: 45.11 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3381, allocations: 0 / 432.2 MB, free: 45.11 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001751/0.3398, allocations: 479.7 kB / 432.7 MB, free: 45.09 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.002288/0.3421, allocations: 0.7151 MB / 433.4 MB, free: 44.91 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006029/0.3427, allocations: 316.5 kB / 433.7 MB, free: 44.79 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3428, allocations: 0 / 433.7 MB, free: 44.79 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002564/0.343, allocations: 176.1 kB / 433.9 MB, free: 44.72 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004771/0.3435, allocations: 71.22 kB / 433.9 MB, free: 44.71 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006157/0.3441, allocations: 441.8 kB / 434.4 MB, free: 44.44 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001493/0.3443, allocations: 0.7193 MB / 435.1 MB, free: 43.73 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001128/0.3444, allocations: 30.22 kB / 435.1 MB, free: 43.73 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.897e-05/0.3445, allocations: 12.25 kB / 435.1 MB, free: 43.73 MB / 318.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3445, allocations: 0 / 435.1 MB, free: 43.73 MB / 318.1 MB Notification: Performance of Templates: time 0.02584/0.3703, allocations: 20.41 MB / 455.5 MB, free: 29.07 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: