Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.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/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/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(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01108/0.01108, allocations: 103.6 kB / 15.73 MB, free: 6.008 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.002526/0.002526, allocations: 197.4 kB / 16.68 MB, free: 5.934 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.724/1.724, allocations: 205.1 MB / 222.5 MB, free: 4.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3927/0.3927, allocations: 39.93 MB / 309.8 MB, free: 9.402 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 75.89 kB / 435.8 MB, free: 2.445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.3955, allocations: 56.87 MB / 492.7 MB, free: 19.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.02076/0.4164, allocations: 19.89 MB / 0.5005 GB, free: 5.004 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0195/0.4359, allocations: 4.949 MB / 0.5054 GB, free: 1.047 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008573/0.4446, allocations: 135.6 kB / 0.5055 GB, free: 1.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01978/0.4644, allocations: 7.79 MB / 0.5131 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0118/0.4762, allocations: 2.28 MB / 0.5153 GB, free: 9.266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006299/0.4825, allocations: 1.278 MB / 0.5166 GB, free: 8.246 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02448/0.507, allocations: 12.36 MB / 0.5286 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05272/0.5598, allocations: 26.11 MB / 0.5541 GB, free: 5.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01534/0.5752, allocations: 6.608 MB / 0.5606 GB, free: 14.61 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01567/0.5909, allocations: 7.33 MB / 0.5678 GB, free: 7.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007012/0.598, allocations: 1.734 MB / 0.5694 GB, free: 5.516 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009338/0.6074, allocations: 1.922 MB / 0.5713 GB, free: 3.594 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008448/0.6158, allocations: 3.717 MB / 0.575 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02141/0.6373, allocations: 7.112 MB / 0.5819 GB, free: 8.727 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03708/0.6744, allocations: 23.68 MB / 0.605 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.6744, allocations: 0 / 0.605 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.6745, allocations: 0 / 0.605 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0008527/0.6753, allocations: 0 / 0.605 GB, free: 0.9844 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3365 * Number of variables: 3365 Notification: Performance of Generate backend data structure: time 0.05732/0.7327, allocations: 14.81 MB / 0.6195 GB, free: 2.07 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.994e-05/0.7327, allocations: 15.89 kB / 0.6195 GB, free: 2.055 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06849/0.8012, allocations: 12.42 MB / 0.6316 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6144/1.416, allocations: 6.61 MB / 0.6381 GB, free: 108.9 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001841/1.418, allocations: 0.9033 MB / 0.639 GB, free: 108.9 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008014/1.426, allocations: 1.188 MB / 0.6401 GB, free: 108.9 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07213/1.498, allocations: 19.05 MB / 0.6587 GB, free: 101.8 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009832/1.499, allocations: 19.28 kB / 0.6587 GB, free: 101.8 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006305/1.505, allocations: 0.4939 MB / 0.6592 GB, free: 101.5 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001623/1.507, allocations: 0.685 MB / 0.6599 GB, free: 101.4 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05439/1.561, allocations: 19.84 MB / 0.6793 GB, free: 93.11 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.14/1.701, allocations: 61.52 MB / 0.7393 GB, free: 32.53 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02546/1.727, allocations: 20.18 MB / 0.7591 GB, free: 11.16 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007929/1.735, allocations: 4.639 MB / 0.7636 GB, free: 6.504 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008654/1.736, allocations: 238.2 kB / 0.7638 GB, free: 6.25 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001359/1.736, allocations: 103.8 kB / 0.7639 GB, free: 6.137 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=674): time 1.307e-05/1.736, allocations: 0 / 0.7639 GB, free: 6.137 MB / 0.4982 GB Notification: Performance of matching and sorting (n=674): time 0.02762/1.763, allocations: 12.54 MB / 0.7762 GB, free: 9.391 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/1.764, allocations: 120.7 kB / 0.7763 GB, free: 9.258 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02032/1.784, allocations: 8.718 MB / 0.7848 GB, free: 0.5547 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001519/1.786, allocations: 133.7 kB / 0.7849 GB, free: 428 kB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.006197/1.792, allocations: 4.607 MB / 0.7894 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.003873/1.796, allocations: 2.26 MB / 0.7916 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003343/1.799, allocations: 1.51 MB / 0.7931 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001397/1.799, allocations: 309.1 kB / 0.7934 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007199/1.806, allocations: 4.2 MB / 0.7975 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00975/1.816, allocations: 7.222 MB / 0.8045 GB, free: 10.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01853/1.835, allocations: 12.4 MB / 0.8167 GB, free: 12.93 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001339/1.835, allocations: 28 kB / 0.8167 GB, free: 12.9 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.02808/1.863, allocations: 12.4 MB / 0.8288 GB, free: 400 kB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.000114/1.863, allocations: 48 kB / 0.8288 GB, free: 352 kB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002373/1.863, allocations: 100 kB / 0.8289 GB, free: 252 kB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001136/1.865, allocations: 421.1 kB / 0.8293 GB, free: 15.82 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008736/1.873, allocations: 2.098 MB / 0.8314 GB, free: 13.71 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008261/1.882, allocations: 9.604 MB / 0.8408 GB, free: 3.277 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008194/1.89, allocations: 1.408 MB / 0.8421 GB, free: 1.855 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001865/1.892, allocations: 396 kB / 0.8425 GB, free: 1.469 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 451 * 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 (1022): * Single equations (assignments): 1016 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009993/1.902, allocations: 4.66 MB / 0.8471 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002114/1.904, allocations: 0.7137 MB / 0.8478 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01898/1.923, allocations: 11.04 MB / 0.8585 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.279e-05/1.923, allocations: 71.94 kB / 0.8586 GB, free: 0.8516 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.638e-05/1.923, allocations: 4 kB / 0.8586 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001039/1.923, allocations: 35.86 kB / 0.8587 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5432/2.466, allocations: 159 MB / 1.014 GB, free: 95.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001798/2.467, allocations: 88 kB / 1.014 GB, free: 95.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005659/2.472, allocations: 1.573 MB / 1.016 GB, free: 94.24 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009167/2.473, allocations: 384.8 kB / 1.016 GB, free: 93.85 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007823/2.474, allocations: 252.3 kB / 1.016 GB, free: 93.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005417/2.479, allocations: 9.463 MB / 1.025 GB, free: 83.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.763e-05/2.479, allocations: 135.4 kB / 1.026 GB, free: 83.27 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03598/2.515, allocations: 18.85 MB / 1.044 GB, free: 62.68 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01041/2.526, allocations: 2.045 MB / 1.046 GB, free: 60.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004738/2.531, allocations: 247.9 kB / 1.046 GB, free: 60.51 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0127/2.543, allocations: 0.5642 MB / 1.047 GB, free: 59.95 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003655/2.547, allocations: 0.7458 MB / 1.047 GB, free: 59.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002158/2.549, allocations: 312 kB / 1.048 GB, free: 58.89 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0195/2.569, allocations: 6.121 MB / 1.054 GB, free: 52.79 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7.21e-07/2.569, allocations: 0 / 1.054 GB, free: 52.79 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01979/2.589, allocations: 2.683 MB / 1.056 GB, free: 50.1 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 397 * Number of states: 1 (currentSource.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 (741): * Single equations (assignments): 735 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003669/2.593, allocations: 0.4992 MB / 1.057 GB, free: 49.59 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.02723/2.62, allocations: 10.84 MB / 1.067 GB, free: 38.72 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 0.0001233/2.62, allocations: 16.06 kB / 1.067 GB, free: 38.7 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.009654/2.63, allocations: 5.509 MB / 1.073 GB, free: 33.13 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01208/2.642, allocations: 1.503 MB / 1.074 GB, free: 31.63 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04684/2.689, allocations: 25.13 MB / 1.099 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3458/3.034, allocations: 7.877 MB / 1.107 GB, free: 180.4 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.01489/3.049, allocations: 3.646 MB / 1.11 GB, free: 180.2 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004064/3.054, allocations: 0.6045 MB / 1.111 GB, free: 180.2 MB / 0.6075 GB Notification: Performance of SimCode: time 1.844e-06/3.054, allocations: 0 / 1.111 GB, free: 180.2 MB / 0.6075 GB Notification: Performance of Templates: time 0.1787/3.232, allocations: 98.92 MB / 1.207 GB, free: 120.7 MB / 0.6075 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.sim & ./ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe 2>&1)