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.001022/0.001022, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001091/0.001091, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.372/1.372, allocations: 205.1 MB / 222.1 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04317/0.04317, allocations: 9.077 MB / 278.5 MB, free: 12.36 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.002224/0.002224, allocations: 67.91 kB / 337.5 MB, free: 25.8 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08243/0.08468, allocations: 48.17 MB / 385.7 MB, free: 9.59 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.MaxwellLoop): time 0.01791/0.1026, allocations: 17.5 MB / 403.2 MB, free: 8.008 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002613/0.1053, allocations: 2.438 MB / 405.6 MB, free: 5.562 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.542e-05/0.1054, allocations: 4 kB / 405.6 MB, free: 5.559 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009069/0.1064, allocations: 367.9 kB / 406 MB, free: 5.199 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006302/0.1127, allocations: 2.84 MB / 408.8 MB, free: 2.352 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.375e-05/0.1128, allocations: 11.98 kB / 408.8 MB, free: 2.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002133/0.113, allocations: 195 kB / 409 MB, free: 2.148 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.358e-05/0.113, allocations: 9.562 kB / 409 MB, free: 2.137 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.1132, allocations: 95.47 kB / 409.1 MB, free: 2.043 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.156e-05/0.1133, allocations: 55.72 kB / 409.2 MB, free: 1.988 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.1134, allocations: 4 kB / 409.2 MB, free: 1.984 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007677/0.121, allocations: 6.312 MB / 415.5 MB, free: 11.66 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.58e-05/0.1211, allocations: 27.78 kB / 415.5 MB, free: 11.63 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.662e-05/0.1212, allocations: 59.67 kB / 415.6 MB, free: 11.57 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004201/0.1254, allocations: 2.799 MB / 418.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1254, allocations: 4 kB / 418.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1254, allocations: 0 / 418.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.1254, allocations: 0 / 418.4 MB, free: 8.762 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.001446/0.1269, allocations: 0.6548 MB / 419.1 MB, free: 8.059 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.1269, allocations: 8.031 kB / 419.1 MB, free: 8.051 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.1271, allocations: 35.78 kB / 419.1 MB, free: 8.016 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.1272, allocations: 198.6 kB / 419.3 MB, free: 7.781 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.1272, allocations: 7.938 kB / 419.3 MB, free: 7.773 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.1273, allocations: 4 kB / 419.3 MB, free: 7.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002976/0.1276, allocations: 158.4 kB / 419.5 MB, free: 7.609 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.1276, allocations: 0 / 419.5 MB, free: 7.609 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.1276, allocations: 3.984 kB / 419.5 MB, free: 7.605 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.1276, allocations: 3.984 kB / 419.5 MB, free: 7.602 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00036/0.128, allocations: 196.2 kB / 419.7 MB, free: 7.41 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002355/0.1282, allocations: 270.5 kB / 419.9 MB, free: 7.098 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/0.1285, allocations: 178.7 kB / 420.1 MB, free: 6.914 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00023/0.1287, allocations: 173.9 kB / 420.3 MB, free: 6.742 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1494/0.2781, allocations: 10.94 MB / 431.2 MB, free: 43.36 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.2782, allocations: 35.67 kB / 431.2 MB, free: 43.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 2.605e-06/0.2782, allocations: 0 / 431.2 MB, free: 43.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008544/0.2791, allocations: 451.8 kB / 431.7 MB, free: 43.28 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/0.2791, allocations: 61.55 kB / 431.7 MB, free: 43.21 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.2792, allocations: 134.3 kB / 431.9 MB, free: 43.12 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.2792, allocations: 26.8 kB / 431.9 MB, free: 43.09 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.929e-05/0.2793, allocations: 88.91 kB / 432 MB, free: 43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.046e-05/0.2793, allocations: 107 kB / 432.1 MB, free: 42.96 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.898e-05/0.2794, allocations: 31.42 kB / 432.1 MB, free: 42.94 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.795e-05/0.2794, allocations: 328.3 kB / 432.4 MB, free: 42.63 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.2797, allocations: 117.5 kB / 432.6 MB, free: 42.63 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/0.2799, allocations: 120.7 kB / 432.7 MB, free: 42.62 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004371/0.2803, allocations: 297.6 kB / 433 MB, free: 42.57 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2803, allocations: 0 / 433 MB, free: 42.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004894/0.2808, allocations: 334.4 kB / 433.3 MB, free: 42.41 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.2808, allocations: 4.625 kB / 433.3 MB, free: 42.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2809, allocations: 0.9375 kB / 433.3 MB, free: 42.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.2809, allocations: 1.969 kB / 433.3 MB, free: 42.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.281, allocations: 21.73 kB / 433.3 MB, free: 42.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.281, allocations: 5.344 kB / 433.3 MB, free: 42.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.2811, allocations: 27.12 kB / 433.3 MB, free: 42.4 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.2812, allocations: 2.125 kB / 433.3 MB, free: 42.4 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 7.145e-05/0.2812, allocations: 119 kB / 433.5 MB, free: 42.28 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.246e-05/0.2813, allocations: 13.28 kB / 433.5 MB, free: 42.27 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005839/0.2819, allocations: 369.1 kB / 433.8 MB, free: 42.11 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.2819, allocations: 8.219 kB / 433.8 MB, free: 42.1 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2819, allocations: 1.516 kB / 433.8 MB, free: 42.1 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2819, allocations: 0.6094 kB / 433.8 MB, free: 42.1 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.2821, allocations: 279.9 kB / 434.1 MB, free: 41.85 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2821, allocations: 0 / 434.1 MB, free: 41.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.2822, allocations: 19.27 kB / 434.1 MB, free: 41.85 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.644e-06/0.2822, allocations: 1.156 kB / 434.1 MB, free: 41.85 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.2822, allocations: 2.938 kB / 434.1 MB, free: 41.85 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2822, allocations: 4.562 kB / 434.2 MB, free: 41.85 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.2822, allocations: 0.8906 kB / 434.2 MB, free: 41.85 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005011/0.2828, allocations: 374 kB / 434.5 MB, free: 41.65 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.583e-05/0.2828, allocations: 101 kB / 434.6 MB, free: 41.55 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.2828, allocations: 6.188 kB / 434.6 MB, free: 41.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.283, allocations: 11.33 kB / 434.6 MB, free: 41.54 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.283, allocations: 9.172 kB / 434.6 MB, free: 41.54 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.283, allocations: 1.312 kB / 434.6 MB, free: 41.54 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.993e-05/0.2831, allocations: 104.2 kB / 434.7 MB, free: 41.46 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2831, allocations: 0 / 434.7 MB, free: 41.46 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001319/0.2844, allocations: 486.5 kB / 435.2 MB, free: 41.44 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.002225/0.2866, allocations: 0.7191 MB / 435.9 MB, free: 41.28 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005774/0.2872, allocations: 302.8 kB / 436.2 MB, free: 41.15 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2872, allocations: 4 kB / 436.2 MB, free: 41.15 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002474/0.2875, allocations: 166.7 kB / 436.4 MB, free: 41.07 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004605/0.288, allocations: 72.45 kB / 436.5 MB, free: 41.06 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006405/0.2886, allocations: 432 kB / 436.9 MB, free: 40.79 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001667/0.2888, allocations: 0.7187 MB / 437.6 MB, free: 40.08 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001119/0.2889, allocations: 25.36 kB / 437.6 MB, free: 40.08 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.39e-05/0.289, allocations: 17.45 kB / 437.7 MB, free: 40.07 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.289, allocations: 1.312 kB / 437.7 MB, free: 40.07 MB / 318.1 MB Notification: Performance of Templates: time 0.02174/0.3107, allocations: 20.46 MB / 458.1 MB, free: 24.71 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)