Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.EquivalentCircuit.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 1.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Machines.EquivalentCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.EquivalentCircuit") translateModel(HanserModelica.Machines.EquivalentCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.EquivalentCircuit") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 181.5 kB / 15.43 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/package.mo): time 0.03967/0.03967, allocations: 8.923 MB / 25.1 MB, free: 3.773 MB / 18.57 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 225.7 MB / 253.7 MB, free: 5.219 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007592/0.0007592, allocations: 96.95 kB / 307 MB, free: 2.984 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003241/0.0003245, allocations: 12 kB / 370.3 MB, free: 3.629 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3132, allocations: 52.54 MB / 422.8 MB, free: 47.89 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.EquivalentCircuit): time 0.01628/0.3295, allocations: 16.45 MB / 439.3 MB, free: 35.89 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01253/0.342, allocations: 6.476 MB / 445.8 MB, free: 30.51 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004881/0.347, allocations: 138.6 kB / 445.9 MB, free: 30.49 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004818/0.3518, allocations: 1.283 MB / 447.2 MB, free: 29.84 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008264/0.3601, allocations: 2.471 MB / 449.6 MB, free: 27.7 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00481/0.3649, allocations: 2.366 MB / 452 MB, free: 25.48 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01197/0.3769, allocations: 10.8 MB / 462.8 MB, free: 15.26 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04588/0.4228, allocations: 31.38 MB / 494.2 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008117/0.431, allocations: 4.41 MB / 498.6 MB, free: 9.703 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009052/0.4401, allocations: 5.151 MB / 0.4919 GB, free: 4.531 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003302/0.4434, allocations: 0.6641 MB / 0.4926 GB, free: 3.863 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00521/0.4486, allocations: 0.9333 MB / 0.4935 GB, free: 2.93 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004246/0.4529, allocations: 2.086 MB / 0.4955 GB, free: 0.8359 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01048/0.4634, allocations: 5.063 MB / 0.5005 GB, free: 11.74 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02527/0.4887, allocations: 20.61 MB / 0.5206 GB, free: 7.066 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.4888, allocations: 0 / 0.5206 GB, free: 7.066 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.016e-06/0.4888, allocations: 0 / 0.5206 GB, free: 7.066 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0007793/0.4896, allocations: 0 / 0.5206 GB, free: 7.066 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3006 * Number of variables: 3006 Notification: Performance of Generate backend data structure: time 0.03444/0.5241, allocations: 11.44 MB / 0.5318 GB, free: 11.53 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.5241, allocations: 12.03 kB / 0.5318 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04015/0.5643, allocations: 7.892 MB / 0.5395 GB, free: 3.605 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01509/0.5794, allocations: 6.56 MB / 0.5459 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001073/0.5805, allocations: 0.8148 MB / 0.5467 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004589/0.5851, allocations: 1.066 MB / 0.5478 GB, free: 11.1 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4658/1.051, allocations: 17.71 MB / 0.565 GB, free: 104.5 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003487/1.051, allocations: 16.33 kB / 0.5651 GB, free: 104.5 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002343/1.054, allocations: 450 kB / 0.5655 GB, free: 104.1 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006629/1.054, allocations: 0.5767 MB / 0.5661 GB, free: 104.1 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03253/1.087, allocations: 16.17 MB / 0.5818 GB, free: 98.42 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07783/1.165, allocations: 53.45 MB / 0.634 GB, free: 50.67 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01366/1.179, allocations: 15.8 MB / 0.6495 GB, free: 33.37 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005247/1.184, allocations: 3.795 MB / 0.6532 GB, free: 29.58 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003765/1.184, allocations: 192.8 kB / 0.6534 GB, free: 29.38 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.533e-05/1.184, allocations: 90.98 kB / 0.6534 GB, free: 29.29 MB / 426.8 MB Notification: Performance of pre-optimization done (n=504): time 6.823e-06/1.184, allocations: 4 kB / 0.6535 GB, free: 29.28 MB / 426.8 MB Notification: Performance of matching and sorting (n=504): time 0.01817/1.202, allocations: 10.84 MB / 0.664 GB, free: 18.31 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/1.203, allocations: 129.5 kB / 0.6642 GB, free: 18.16 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00456/1.207, allocations: 3.475 MB / 0.6676 GB, free: 14.68 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007924/1.208, allocations: 109.6 kB / 0.6677 GB, free: 14.56 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001903/1.21, allocations: 4.312 MB / 0.6719 GB, free: 10.22 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001663/1.212, allocations: 1.715 MB / 0.6735 GB, free: 8.52 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003434/1.212, allocations: 136 kB / 0.6737 GB, free: 8.387 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0003116/1.212, allocations: 0.5833 MB / 0.6742 GB, free: 7.797 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004145/1.216, allocations: 3.316 MB / 0.6775 GB, free: 4.477 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005977/1.222, allocations: 5.667 MB / 0.683 GB, free: 13.76 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01244/1.235, allocations: 9.626 MB / 0.6924 GB, free: 3.055 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-05/1.235, allocations: 24 kB / 0.6924 GB, free: 3.031 MB / 442.8 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.02089/1.256, allocations: 10.36 MB / 0.7026 GB, free: 8.617 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.811e-05/1.256, allocations: 36 kB / 0.7026 GB, free: 8.582 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001526/1.256, allocations: 76 kB / 0.7027 GB, free: 8.508 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002894/1.259, allocations: 1.076 MB / 0.7037 GB, free: 7.43 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006203/1.265, allocations: 1.521 MB / 0.7052 GB, free: 5.906 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01483/1.28, allocations: 12.48 MB / 0.7174 GB, free: 8.926 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006118/1.286, allocations: 0.8479 MB / 0.7182 GB, free: 8.07 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001612/1.288, allocations: 316 kB / 0.7185 GB, free: 7.762 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 341 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (796): * Single equations (assignments): 784 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,30,100.0%), (1,13,100.0%), (1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00928/1.297, allocations: 4.118 MB / 0.7225 GB, free: 3.629 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001087/1.298, allocations: 399 kB / 0.7229 GB, free: 3.234 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01377/1.312, allocations: 7.988 MB / 0.7307 GB, free: 11.19 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01087/1.323, allocations: 6.602 MB / 0.7372 GB, free: 4.535 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.632e-05/1.323, allocations: 12 kB / 0.7372 GB, free: 4.523 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-05/1.323, allocations: 27.84 kB / 0.7372 GB, free: 4.496 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3092/1.632, allocations: 17.9 MB / 0.7547 GB, free: 150.8 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.657e-05/1.632, allocations: 15.62 kB / 0.7547 GB, free: 150.8 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003585/1.636, allocations: 0.9517 MB / 0.7556 GB, free: 150.7 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002841/1.639, allocations: 0.9635 MB / 0.7566 GB, free: 150.5 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004873/1.639, allocations: 126.7 kB / 0.7567 GB, free: 150.4 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01273/1.652, allocations: 12.19 MB / 0.7686 GB, free: 142.3 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.2e-05/1.652, allocations: 19.78 kB / 0.7686 GB, free: 142.3 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01614/1.668, allocations: 12.32 MB / 0.7807 GB, free: 136.9 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002081/1.67, allocations: 1.143 MB / 0.7818 GB, free: 136.3 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005237/1.671, allocations: 107.3 kB / 0.7819 GB, free: 136.2 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001948/1.673, allocations: 323.7 kB / 0.7822 GB, free: 136.1 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000728/1.674, allocations: 399.2 kB / 0.7826 GB, free: 136.1 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002599/1.674, allocations: 169.2 kB / 0.7827 GB, free: 136 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.002801/1.677, allocations: 2.333 MB / 0.785 GB, free: 135.2 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.6e-07/1.677, allocations: 6.531 kB / 0.785 GB, free: 135.2 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.006353/1.683, allocations: 2.651 MB / 0.7876 GB, free: 134.4 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (507): * Single equations (assignments): 495 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,30,100.0%), (1,13,100.0%), (1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006627/1.684, allocations: 336.6 kB / 0.7879 GB, free: 134.2 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01065/1.694, allocations: 8.707 MB / 0.7964 GB, free: 126.8 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.486e-05/1.694, allocations: 5.641 kB / 0.7964 GB, free: 126.8 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00521/1.7, allocations: 4.321 MB / 0.8006 GB, free: 123 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009918/1.71, allocations: 0.8923 MB / 0.8015 GB, free: 122.2 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03381/1.743, allocations: 23.72 MB / 0.8247 GB, free: 99.96 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008069/1.752, allocations: 7.018 MB / 0.8315 GB, free: 92.9 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.005915/1.758, allocations: 2.538 MB / 0.834 GB, free: 90.36 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00104/1.759, allocations: 379.4 kB / 0.8344 GB, free: 89.99 MB / 490.8 MB Notification: Performance of SimCode: time 6.22e-07/1.759, allocations: 0 / 0.8344 GB, free: 89.99 MB / 490.8 MB Notification: Performance of Templates: time 0.1033/1.862, allocations: 67.24 MB / 0.9 GB, free: 23.09 MB / 490.8 MB make -j1 -f HanserModelica_HanserModelica.Machines.EquivalentCircuit.makefile (rm -f HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe ; mkfifo HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe >> ../files/HanserModelica_HanserModelica.Machines.EquivalentCircuit.sim & ./HanserModelica_HanserModelica.Machines.EquivalentCircuit -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe 2>&1)