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.001044/0.001044, allocations: 107.2 kB / 16.41 MB, free: 6.504 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.001153/0.001153, allocations: 188.3 kB / 17.35 MB, free: 5.734 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.208/1.208, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04401/0.04401, allocations: 9.095 MB / 279.7 MB, free: 2.941 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.001362/0.001362, allocations: 67.38 kB / 388.1 MB, free: 47.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06431/0.06568, allocations: 48.19 MB / 436.3 MB, free: 7.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.MaxwellLoop): time 0.01548/0.08119, allocations: 17.51 MB / 453.8 MB, free: 6.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002699/0.08392, allocations: 2.426 MB / 456.2 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.287e-05/0.08399, allocations: 0 / 456.2 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008834/0.08492, allocations: 423.4 kB / 456.7 MB, free: 3.168 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.006315/0.09124, allocations: 3.256 MB / 459.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.71e-05/0.09128, allocations: 7.984 kB / 459.9 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.09149, allocations: 199 kB / 460.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.124e-05/0.09154, allocations: 9.562 kB / 460.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.09172, allocations: 95.5 kB / 460.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.502e-05/0.09182, allocations: 63.72 kB / 460.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.09185, allocations: 4 kB / 460.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008265/0.1001, allocations: 6.289 MB / 466.6 MB, free: 9.234 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.533e-05/0.1002, allocations: 15.88 kB / 466.6 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.656e-05/0.1003, allocations: 63.61 kB / 466.7 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004401/0.1047, allocations: 2.802 MB / 469.5 MB, free: 6.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1047, allocations: 4 kB / 469.5 MB, free: 6.344 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1047, allocations: 0 / 469.5 MB, free: 6.344 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1047, allocations: 3.938 kB / 469.5 MB, free: 6.34 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.001154/0.1059, allocations: 0.6915 MB / 470.2 MB, free: 5.598 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.1059, allocations: 8.031 kB / 470.2 MB, free: 5.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.106, allocations: 31.89 kB / 470.2 MB, free: 5.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.1062, allocations: 190.8 kB / 470.4 MB, free: 5.332 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.1062, allocations: 4 kB / 470.4 MB, free: 5.328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.1062, allocations: 0 / 470.4 MB, free: 5.328 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002982/0.1065, allocations: 158.5 kB / 470.5 MB, free: 5.168 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.1066, allocations: 0 / 470.5 MB, free: 5.168 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.1066, allocations: 4 kB / 470.5 MB, free: 5.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.607e-06/0.1066, allocations: 3.984 kB / 470.5 MB, free: 5.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003815/0.107, allocations: 192.2 kB / 470.7 MB, free: 4.973 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002445/0.1072, allocations: 282.4 kB / 471 MB, free: 4.648 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002768/0.1075, allocations: 174.8 kB / 471.2 MB, free: 4.469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002337/0.1078, allocations: 165.9 kB / 471.3 MB, free: 4.305 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01921/0.127, allocations: 10.93 MB / 482.3 MB, free: 7.562 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.1271, allocations: 38.55 kB / 482.3 MB, free: 7.516 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 2.615e-06/0.1271, allocations: 0 / 482.3 MB, free: 7.516 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008531/0.1279, allocations: 460.3 kB / 482.8 MB, free: 7.059 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.128, allocations: 55.41 kB / 482.8 MB, free: 6.992 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.993e-05/0.1281, allocations: 133.2 kB / 482.9 MB, free: 6.855 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.1281, allocations: 25.7 kB / 483 MB, free: 6.824 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.981e-05/0.1281, allocations: 92.77 kB / 483.1 MB, free: 6.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.7e-05/0.1282, allocations: 111 kB / 483.2 MB, free: 6.621 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.684e-05/0.1283, allocations: 33.7 kB / 483.2 MB, free: 6.582 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.1284, allocations: 330.8 kB / 483.5 MB, free: 6.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/0.1286, allocations: 127.9 kB / 483.7 MB, free: 6.125 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.1288, allocations: 119.9 kB / 483.8 MB, free: 6.008 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004223/0.1292, allocations: 295.6 kB / 484.1 MB, free: 5.719 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1293, allocations: 4 kB / 484.1 MB, free: 5.715 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004929/0.1298, allocations: 331.2 kB / 484.4 MB, free: 5.383 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.1298, allocations: 7.984 kB / 484.4 MB, free: 5.375 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1298, allocations: 4 kB / 484.4 MB, free: 5.371 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.1298, allocations: 0 / 484.4 MB, free: 5.371 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.1299, allocations: 19.98 kB / 484.4 MB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.1299, allocations: 0 / 484.4 MB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.1301, allocations: 31.77 kB / 484.4 MB, free: 5.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.1301, allocations: 4 kB / 484.4 MB, free: 5.316 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.653e-05/0.1302, allocations: 117.8 kB / 484.6 MB, free: 5.191 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.1302, allocations: 11.91 kB / 484.6 MB, free: 5.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005732/0.1308, allocations: 376.7 kB / 484.9 MB, free: 4.801 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1308, allocations: 0 / 484.9 MB, free: 4.801 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1308, allocations: 0 / 484.9 MB, free: 4.801 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.375e-05/0.1309, allocations: 108.8 kB / 485.1 MB, free: 4.676 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.1309, allocations: 4 kB / 485.1 MB, free: 4.672 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.131, allocations: 11.98 kB / 485.1 MB, free: 4.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.1311, allocations: 11.97 kB / 485.1 MB, free: 4.648 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005672/0.1316, allocations: 397.8 kB / 485.5 MB, free: 4.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005543/0.1322, allocations: 495.5 kB / 486 MB, free: 3.75 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002325/0.1324, allocations: 155.9 kB / 486.1 MB, free: 3.598 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.459e-05/0.1325, allocations: 107.2 kB / 486.2 MB, free: 3.492 MB / 366.1 MB Notification: Performance of Backend: time 6.41e-07/0.1325, allocations: 0 / 486.2 MB, free: 3.492 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002831/0.1354, allocations: 0.8699 MB / 487.1 MB, free: 2.617 MB / 366.1 MB Notification: Performance of SimCode: time 0.0006615/0.136, allocations: 0.7342 MB / 487.8 MB, free: 1.836 MB / 366.1 MB Notification: Performance of Templates: time 0.02501/0.1611, allocations: 20.25 MB / 0.4962 GB, free: 13.57 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)