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.001164/0.001164, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.01081/0.01081, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04515/0.04515, allocations: 9.069 MB / 279.8 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.0005372/0.0005372, allocations: 12.22 kB / 339.7 MB, free: 25.64 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07945/0.08, allocations: 49.18 MB / 388.9 MB, free: 8.41 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.MaxwellLoop): time 0.01827/0.09831, allocations: 17.26 MB / 406.2 MB, free: 7.078 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003093/0.1014, allocations: 2.536 MB / 408.7 MB, free: 4.535 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.1016, allocations: 0 / 408.7 MB, free: 4.535 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009708/0.1026, allocations: 351.8 kB / 409.1 MB, free: 4.191 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006689/0.1093, allocations: 2.657 MB / 411.7 MB, free: 1.527 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.027e-05/0.1093, allocations: 8 kB / 411.7 MB, free: 1.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002367/0.1096, allocations: 187 kB / 411.9 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.559e-05/0.1096, allocations: 13.55 kB / 411.9 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002223/0.1099, allocations: 87.53 kB / 412 MB, free: 1.234 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.11, allocations: 63.66 kB / 412.1 MB, free: 1.172 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.11, allocations: 0 / 412.1 MB, free: 1.172 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00889/0.1189, allocations: 5.839 MB / 417.9 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.161e-05/0.119, allocations: 19.92 kB / 417.9 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.1191, allocations: 81.38 kB / 418 MB, free: 11.21 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005652/0.1248, allocations: 2.635 MB / 420.6 MB, free: 8.574 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1248, allocations: 0 / 420.6 MB, free: 8.574 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1248, allocations: 0 / 420.6 MB, free: 8.574 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.1248, allocations: 0 / 420.6 MB, free: 8.574 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.002033/0.1269, allocations: 0.6665 MB / 421.3 MB, free: 7.859 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.1269, allocations: 12.03 kB / 421.3 MB, free: 7.848 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00019/0.1271, allocations: 31.78 kB / 421.3 MB, free: 7.816 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.1273, allocations: 190.7 kB / 421.5 MB, free: 7.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.1274, allocations: 7.984 kB / 421.5 MB, free: 7.582 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.1274, allocations: 0 / 421.5 MB, free: 7.582 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003787/0.1278, allocations: 171.3 kB / 421.7 MB, free: 7.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.1278, allocations: 3.984 kB / 421.7 MB, free: 7.406 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1278, allocations: 0 / 421.7 MB, free: 7.406 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.896e-05/0.1278, allocations: 15.98 kB / 421.7 MB, free: 7.391 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005261/0.1284, allocations: 216.1 kB / 421.9 MB, free: 7.18 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003269/0.1287, allocations: 270.5 kB / 422.2 MB, free: 6.867 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003497/0.1291, allocations: 190.8 kB / 422.4 MB, free: 6.672 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002897/0.1294, allocations: 173.1 kB / 422.6 MB, free: 6.5 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1747/0.3041, allocations: 10.71 MB / 433.3 MB, free: 41.99 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.3042, allocations: 32.72 kB / 433.3 MB, free: 41.95 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 1.804e-06/0.3042, allocations: 0 / 433.3 MB, free: 41.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009601/0.3051, allocations: 496.4 kB / 433.8 MB, free: 41.91 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.913e-05/0.3052, allocations: 53.66 kB / 433.8 MB, free: 41.85 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.903e-05/0.3053, allocations: 131.8 kB / 434 MB, free: 41.75 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/0.3053, allocations: 29.02 kB / 434 MB, free: 41.72 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.482e-05/0.3053, allocations: 90.03 kB / 434.1 MB, free: 41.63 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.308e-05/0.3054, allocations: 108.4 kB / 434.2 MB, free: 41.58 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.3054, allocations: 26.42 kB / 434.2 MB, free: 41.56 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.751e-05/0.3055, allocations: 325.8 kB / 434.5 MB, free: 41.25 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/0.3057, allocations: 128.3 kB / 434.7 MB, free: 41.25 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.306, allocations: 137.6 kB / 434.8 MB, free: 41.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004812/0.3065, allocations: 320.6 kB / 435.1 MB, free: 41.21 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.3065, allocations: 0 / 435.1 MB, free: 41.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005612/0.307, allocations: 352.6 kB / 435.5 MB, free: 41.14 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.3071, allocations: 8.062 kB / 435.5 MB, free: 41.14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3071, allocations: 0.6094 kB / 435.5 MB, free: 41.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.3071, allocations: 4.594 kB / 435.5 MB, free: 41.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.3073, allocations: 27.78 kB / 435.5 MB, free: 41.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.3073, allocations: 2.203 kB / 435.5 MB, free: 41.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.3074, allocations: 31.03 kB / 435.5 MB, free: 41.13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.3074, allocations: 3.625 kB / 435.5 MB, free: 41.13 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.567e-05/0.3075, allocations: 123.1 kB / 435.6 MB, free: 41.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.036e-05/0.3075, allocations: 14.61 kB / 435.7 MB, free: 41.01 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006844/0.3082, allocations: 387.2 kB / 436 MB, free: 40.94 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.3082, allocations: 6.484 kB / 436 MB, free: 40.94 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3082, allocations: 0.6562 kB / 436 MB, free: 40.94 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.3082, allocations: 1.125 kB / 436.1 MB, free: 40.94 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.3084, allocations: 271.4 kB / 436.3 MB, free: 40.74 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.3085, allocations: 1.219 kB / 436.3 MB, free: 40.74 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.3086, allocations: 26.5 kB / 436.3 MB, free: 40.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.3086, allocations: 0.9375 kB / 436.3 MB, free: 40.74 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.3086, allocations: 2.547 kB / 436.3 MB, free: 40.74 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3086, allocations: 0 / 436.3 MB, free: 40.74 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3086, allocations: 0.9375 kB / 436.3 MB, free: 40.74 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005755/0.3092, allocations: 397.2 kB / 436.7 MB, free: 40.64 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.054e-05/0.3093, allocations: 101.4 kB / 436.8 MB, free: 40.53 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.3093, allocations: 3.938 kB / 436.8 MB, free: 40.53 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.3094, allocations: 15.92 kB / 436.9 MB, free: 40.53 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.221e-05/0.3094, allocations: 9.766 kB / 436.9 MB, free: 40.53 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/0.3095, allocations: 1.812 kB / 436.9 MB, free: 40.53 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.953e-05/0.3095, allocations: 105.1 kB / 437 MB, free: 40.45 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3095, allocations: 1.75 kB / 437 MB, free: 40.45 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001188/0.3107, allocations: 487.8 kB / 437.4 MB, free: 40.43 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 (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.002545/0.3133, allocations: 0.7228 MB / 438.2 MB, free: 40.25 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005627/0.3138, allocations: 320.3 kB / 438.5 MB, free: 40.12 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3139, allocations: 0 / 438.5 MB, free: 40.12 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002662/0.3141, allocations: 176.7 kB / 438.7 MB, free: 40.05 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004861/0.3146, allocations: 71.27 kB / 438.7 MB, free: 40.04 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005534/0.3152, allocations: 465 kB / 439.2 MB, free: 39.75 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.3153, allocations: 0.7147 MB / 439.9 MB, free: 39.05 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001148/0.3154, allocations: 28.61 kB / 439.9 MB, free: 39.04 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.3155, allocations: 13.97 kB / 439.9 MB, free: 39.04 MB / 318.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3155, allocations: 0 / 439.9 MB, free: 39.04 MB / 318.1 MB Notification: Performance of Templates: time 0.02718/0.3427, allocations: 20.31 MB / 460.2 MB, free: 23.79 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: