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.001015/0.001015, allocations: 111.1 kB / 16.42 MB, free: 6.48 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.001178/0.001178, allocations: 191.8 kB / 17.35 MB, free: 5.75 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.285/1.285, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04703/0.04703, allocations: 9.098 MB / 279.7 MB, free: 2.953 MB / 222.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.001444/0.001444, allocations: 69.17 kB / 388.1 MB, free: 47.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06417/0.06563, allocations: 48.19 MB / 436.3 MB, free: 7.633 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.MaxwellLoop): time 0.01616/0.0818, allocations: 17.51 MB / 453.8 MB, free: 6.047 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002783/0.08461, allocations: 2.418 MB / 456.2 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.765e-05/0.08471, allocations: 4 kB / 456.2 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008173/0.08554, allocations: 383.4 kB / 456.6 MB, free: 3.242 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeBindings: time 0.006097/0.09167, allocations: 3.115 MB / 459.7 MB, free: 124 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.896e-05/0.09172, allocations: 7.984 kB / 459.7 MB, free: 116 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002255/0.09195, allocations: 195 kB / 459.9 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.06e-05/0.092, allocations: 9.547 kB / 459.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.09219, allocations: 99.52 kB / 460 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.0923, allocations: 63.7 kB / 460.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.09233, allocations: 4 kB / 460.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008617/0.1009, allocations: 6.297 MB / 466.4 MB, free: 9.441 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.19e-05/0.101, allocations: 15.86 kB / 466.4 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.623e-05/0.1011, allocations: 59.62 kB / 466.5 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004163/0.1052, allocations: 2.799 MB / 469.3 MB, free: 6.562 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1052, allocations: 0 / 469.3 MB, free: 6.562 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1053, allocations: 0 / 469.3 MB, free: 6.562 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1053, allocations: 0 / 469.3 MB, free: 6.562 MB / 350.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.00151/0.1068, allocations: 0.6704 MB / 469.9 MB, free: 5.844 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.1068, allocations: 8.031 kB / 469.9 MB, free: 5.836 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/0.107, allocations: 27.8 kB / 470 MB, free: 5.809 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.1071, allocations: 198.1 kB / 470.2 MB, free: 5.578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.1072, allocations: 4 kB / 470.2 MB, free: 5.574 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.1072, allocations: 0 / 470.2 MB, free: 5.574 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003123/0.1075, allocations: 166.4 kB / 470.3 MB, free: 5.406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1075, allocations: 0 / 470.3 MB, free: 5.406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.1075, allocations: 4 kB / 470.3 MB, free: 5.402 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.1076, allocations: 4 kB / 470.3 MB, free: 5.398 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003975/0.108, allocations: 188.2 kB / 470.5 MB, free: 5.215 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002536/0.1082, allocations: 282.3 kB / 470.8 MB, free: 4.891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002897/0.1085, allocations: 182.7 kB / 471 MB, free: 4.703 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002484/0.1088, allocations: 165.9 kB / 471.1 MB, free: 4.539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02098/0.1298, allocations: 10.93 MB / 482.1 MB, free: 7.797 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.1298, allocations: 30.56 kB / 482.1 MB, free: 7.758 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 1.903e-06/0.1298, allocations: 0 / 482.1 MB, free: 7.758 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008525/0.1307, allocations: 464.2 kB / 482.6 MB, free: 7.297 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/0.1307, allocations: 55.41 kB / 482.6 MB, free: 7.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.1308, allocations: 121.8 kB / 482.7 MB, free: 7.102 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.1309, allocations: 33.7 kB / 482.8 MB, free: 7.062 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.816e-05/0.1309, allocations: 88.78 kB / 482.8 MB, free: 6.973 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.457e-05/0.131, allocations: 106.4 kB / 483 MB, free: 6.867 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.968e-05/0.131, allocations: 33.61 kB / 483 MB, free: 6.828 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.1312, allocations: 334.8 kB / 483.3 MB, free: 6.492 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/0.1314, allocations: 123.9 kB / 483.4 MB, free: 6.371 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.1316, allocations: 119.9 kB / 483.6 MB, free: 6.254 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004306/0.132, allocations: 299.6 kB / 483.8 MB, free: 5.961 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.132, allocations: 0 / 483.8 MB, free: 5.961 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005061/0.1325, allocations: 335.2 kB / 484.2 MB, free: 5.625 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1326, allocations: 6.031 kB / 484.2 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1326, allocations: 0 / 484.2 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1326, allocations: 0 / 484.2 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.1327, allocations: 23.98 kB / 484.2 MB, free: 5.598 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.1327, allocations: 0 / 484.2 MB, free: 5.598 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.1329, allocations: 31.61 kB / 484.2 MB, free: 5.566 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.1329, allocations: 7.984 kB / 484.2 MB, free: 5.559 MB / 366.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 8.917e-05/0.133, allocations: 117.8 kB / 484.4 MB, free: 5.434 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.133, allocations: 11.81 kB / 484.4 MB, free: 5.422 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005809/0.1336, allocations: 364.8 kB / 484.7 MB, free: 5.055 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1336, allocations: 4 kB / 484.7 MB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1336, allocations: 0 / 484.7 MB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.793e-05/0.1337, allocations: 104.7 kB / 484.8 MB, free: 4.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.1337, allocations: 4 kB / 484.8 MB, free: 4.926 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.1338, allocations: 11.98 kB / 484.8 MB, free: 4.914 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.1339, allocations: 7.984 kB / 484.9 MB, free: 4.906 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000602/0.1345, allocations: 405.8 kB / 485.2 MB, free: 4.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005632/0.1351, allocations: 491.4 kB / 485.7 MB, free: 4.004 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000241/0.1353, allocations: 163.9 kB / 485.9 MB, free: 3.844 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.606e-05/0.1354, allocations: 95.27 kB / 486 MB, free: 3.75 MB / 366.1 MB Notification: Performance of Backend: time 4.8e-07/0.1354, allocations: 0 / 486 MB, free: 3.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002833/0.1382, allocations: 0.8614 MB / 486.8 MB, free: 2.883 MB / 366.1 MB Notification: Performance of SimCode: time 0.000635/0.1389, allocations: 0.7306 MB / 487.6 MB, free: 2.105 MB / 366.1 MB Notification: Performance of Templates: time 0.02745/0.1663, allocations: 20.33 MB / 0.496 GB, free: 13.77 MB / 398.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)