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.001058/0.001058, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001088/0.001088, allocations: 195.5 kB / 16.14 MB, free: 6.656 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.287/1.287, allocations: 205.1 MB / 222 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04194/0.04194, allocations: 9.081 MB / 278.4 MB, free: 12.4 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.001256/0.001256, allocations: 59.92 kB / 337.3 MB, free: 25.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08056/0.08182, allocations: 48.17 MB / 385.5 MB, free: 9.676 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.MaxwellLoop): time 0.01752/0.09939, allocations: 17.76 MB / 403.3 MB, free: 7.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002698/0.1021, allocations: 2.578 MB / 405.8 MB, free: 5.254 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.652e-05/0.1022, allocations: 4 kB / 405.8 MB, free: 5.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009186/0.1032, allocations: 335.9 kB / 406.2 MB, free: 4.922 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006253/0.1094, allocations: 2.649 MB / 408.8 MB, free: 2.266 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.193e-05/0.1095, allocations: 7.984 kB / 408.8 MB, free: 2.258 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.1097, allocations: 183.1 kB / 409 MB, free: 2.078 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.669e-05/0.1098, allocations: 13.55 kB / 409 MB, free: 2.062 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002004/0.11, allocations: 95.45 kB / 409.1 MB, free: 1.969 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.95e-05/0.1101, allocations: 55.72 kB / 409.2 MB, free: 1.914 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.1101, allocations: 0 / 409.2 MB, free: 1.914 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008462/0.1186, allocations: 5.831 MB / 415 MB, free: 12.07 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.43e-05/0.1186, allocations: 23.91 kB / 415 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.1187, allocations: 55.67 kB / 415.1 MB, free: 11.99 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005658/0.1244, allocations: 2.639 MB / 417.7 MB, free: 9.344 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1245, allocations: 4 kB / 417.7 MB, free: 9.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1245, allocations: 0 / 417.7 MB, free: 9.34 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1245, allocations: 0 / 417.7 MB, free: 9.34 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.001317/0.1258, allocations: 0.6626 MB / 418.4 MB, free: 8.629 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.1258, allocations: 12.03 kB / 418.4 MB, free: 8.617 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001329/0.126, allocations: 31.78 kB / 418.4 MB, free: 8.586 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.1261, allocations: 194.6 kB / 418.6 MB, free: 8.355 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.1261, allocations: 4 kB / 418.6 MB, free: 8.352 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.1262, allocations: 8 kB / 418.6 MB, free: 8.344 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003046/0.1265, allocations: 155.2 kB / 418.8 MB, free: 8.188 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1265, allocations: 0 / 418.8 MB, free: 8.188 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.1265, allocations: 4 kB / 418.8 MB, free: 8.184 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.1265, allocations: 7.984 kB / 418.8 MB, free: 8.176 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003636/0.1269, allocations: 192.2 kB / 419 MB, free: 7.988 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002407/0.1271, allocations: 274.4 kB / 419.2 MB, free: 7.672 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002694/0.1274, allocations: 178.8 kB / 419.4 MB, free: 7.488 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002322/0.1277, allocations: 165.1 kB / 419.6 MB, free: 7.324 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1534/0.2811, allocations: 10.94 MB / 430.5 MB, free: 44.08 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.2811, allocations: 35.66 kB / 430.6 MB, free: 44.04 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 2.395e-06/0.2811, allocations: 1.031 kB / 430.6 MB, free: 44.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008205/0.282, allocations: 460.1 kB / 431 MB, free: 44 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.282, allocations: 51.41 kB / 431.1 MB, free: 43.94 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.207e-05/0.2821, allocations: 132.4 kB / 431.2 MB, free: 43.84 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.227e-06/0.2821, allocations: 31.55 kB / 431.2 MB, free: 43.81 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.258e-05/0.2821, allocations: 85.61 kB / 431.3 MB, free: 43.72 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.423e-05/0.2822, allocations: 111 kB / 431.4 MB, free: 43.68 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.728e-05/0.2823, allocations: 31.53 kB / 431.4 MB, free: 43.66 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.487e-05/0.2823, allocations: 325.4 kB / 431.8 MB, free: 43.35 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.2825, allocations: 121.3 kB / 431.9 MB, free: 43.35 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000205/0.2827, allocations: 120.6 kB / 432 MB, free: 43.35 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004274/0.2832, allocations: 295.7 kB / 432.3 MB, free: 43.31 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2832, allocations: 1.094 kB / 432.3 MB, free: 43.31 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004739/0.2837, allocations: 338.9 kB / 432.6 MB, free: 43.14 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.2837, allocations: 5.469 kB / 432.6 MB, free: 43.14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.2837, allocations: 3.344 kB / 432.6 MB, free: 43.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.2837, allocations: 0 / 432.6 MB, free: 43.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.2839, allocations: 18.89 kB / 432.6 MB, free: 43.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.2839, allocations: 2.594 kB / 432.6 MB, free: 43.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.284, allocations: 28.45 kB / 432.7 MB, free: 43.13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.284, allocations: 1.938 kB / 432.7 MB, free: 43.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.659e-05/0.2841, allocations: 121.8 kB / 432.8 MB, free: 43.01 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.165e-05/0.2841, allocations: 14.88 kB / 432.8 MB, free: 43 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005521/0.2847, allocations: 373.2 kB / 433.2 MB, free: 42.84 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.2847, allocations: 8.922 kB / 433.2 MB, free: 42.83 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.2847, allocations: 0 / 433.2 MB, free: 42.83 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.2847, allocations: 3.391 kB / 433.2 MB, free: 42.83 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.2849, allocations: 275.4 kB / 433.5 MB, free: 42.58 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2849, allocations: 0.6094 kB / 433.5 MB, free: 42.58 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.285, allocations: 20.73 kB / 433.5 MB, free: 42.58 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.285, allocations: 5.391 kB / 433.5 MB, free: 42.58 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.285, allocations: 1.062 kB / 433.5 MB, free: 42.58 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.285, allocations: 0.6094 kB / 433.5 MB, free: 42.58 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.285, allocations: 1.031 kB / 433.5 MB, free: 42.58 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005062/0.2855, allocations: 373.4 kB / 433.8 MB, free: 42.38 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.597e-05/0.2856, allocations: 99.25 kB / 433.9 MB, free: 42.28 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.2856, allocations: 0.6562 kB / 433.9 MB, free: 42.28 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.2857, allocations: 18.92 kB / 434 MB, free: 42.27 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.2858, allocations: 7.047 kB / 434 MB, free: 42.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.2858, allocations: 2.375 kB / 434 MB, free: 42.27 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.534e-05/0.2858, allocations: 103.8 kB / 434.1 MB, free: 42.19 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2858, allocations: 0 / 434.1 MB, free: 42.19 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001217/0.2871, allocations: 488.7 kB / 434.5 MB, free: 42.17 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.002116/0.2892, allocations: 0.7166 MB / 435.3 MB, free: 42 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005125/0.2897, allocations: 297.6 kB / 435.6 MB, free: 41.88 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.2897, allocations: 0 / 435.6 MB, free: 41.88 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002325/0.29, allocations: 163.3 kB / 435.7 MB, free: 41.81 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000456/0.2904, allocations: 76.95 kB / 435.8 MB, free: 41.79 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000537/0.291, allocations: 425.9 kB / 436.2 MB, free: 41.52 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.2911, allocations: 0.7194 MB / 436.9 MB, free: 40.82 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.825e-05/0.2912, allocations: 30.97 kB / 437 MB, free: 40.82 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.144e-05/0.2912, allocations: 14.48 kB / 437 MB, free: 40.81 MB / 318.1 MB Notification: Performance of SimCode: time 6.61e-07/0.2912, allocations: 3.938 kB / 437 MB, free: 40.81 MB / 318.1 MB Notification: Performance of Templates: time 0.0215/0.3127, allocations: 20.32 MB / 457.3 MB, free: 25.8 MB / 318.1 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)