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.001487/0.001487, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 196.3 kB / 16.53 MB, free: 6.664 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.907/1.907, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.5006/0.5006, allocations: 39.93 MB / 309.7 MB, free: 9.254 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.001661/0.001661, allocations: 66.92 kB / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1921, allocations: 56.88 MB / 434.5 MB, free: 3.695 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.3716/0.5637, allocations: 19.89 MB / 454.4 MB, free: 36.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01387/0.5777, allocations: 4.945 MB / 459.3 MB, free: 36.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007045/0.5848, allocations: 138.6 kB / 459.5 MB, free: 36.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01783/0.6027, allocations: 7.786 MB / 467.2 MB, free: 34.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01363/0.6163, allocations: 2.285 MB / 469.5 MB, free: 33.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005476/0.6219, allocations: 1.264 MB / 470.8 MB, free: 33.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01738/0.6393, allocations: 12.27 MB / 483.1 MB, free: 27.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04581/0.6851, allocations: 26.23 MB / 0.4973 GB, free: 15.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01478/0.7, allocations: 6.576 MB / 0.5038 GB, free: 12.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01544/0.7154, allocations: 7.337 MB / 0.5109 GB, free: 6.734 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00695/0.7225, allocations: 1.734 MB / 0.5126 GB, free: 5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01204/0.7345, allocations: 1.928 MB / 0.5145 GB, free: 3.098 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009982/0.7446, allocations: 3.756 MB / 0.5182 GB, free: 0 / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02677/0.7714, allocations: 7.111 MB / 0.5251 GB, free: 9.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03698/0.8084, allocations: 23.54 MB / 0.5481 GB, free: 4.195 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.8085, allocations: 4 kB / 0.5481 GB, free: 4.191 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.8085, allocations: 0 / 0.5481 GB, free: 4.191 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0008782/0.8094, allocations: 0 / 0.5481 GB, free: 4.191 MB / 414.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.0594/0.8688, allocations: 14.8 MB / 0.5626 GB, free: 5.414 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/0.8689, allocations: 11.89 kB / 0.5626 GB, free: 5.402 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06764/0.9365, allocations: 12.42 MB / 0.5747 GB, free: 9.094 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0217/0.9583, allocations: 6.575 MB / 0.5811 GB, free: 2.477 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001433/0.9598, allocations: 0.9046 MB / 0.582 GB, free: 1.582 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00908/0.9689, allocations: 1.189 MB / 0.5832 GB, free: 416 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07019/1.039, allocations: 19.05 MB / 0.6018 GB, free: 13.35 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006183/1.04, allocations: 19.81 kB / 0.6018 GB, free: 13.33 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006855/1.047, allocations: 0.4985 MB / 0.6023 GB, free: 12.85 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008648/1.048, allocations: 0.6894 MB / 0.603 GB, free: 12.16 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05881/1.106, allocations: 19.84 MB / 0.6223 GB, free: 8.301 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7624/1.869, allocations: 62.19 MB / 0.6831 GB, free: 81.05 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03157/1.9, allocations: 20.18 MB / 0.7028 GB, free: 65.59 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009748/1.91, allocations: 4.621 MB / 0.7073 GB, free: 63.23 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001096/1.911, allocations: 240.1 kB / 0.7075 GB, free: 63.09 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001927/1.912, allocations: 111.2 kB / 0.7076 GB, free: 63 MB / 494.1 MB Notification: Performance of pre-optimization done (n=674): time 1.02e-05/1.912, allocations: 0 / 0.7076 GB, free: 63 MB / 494.1 MB Notification: Performance of matching and sorting (n=674): time 0.02402/1.936, allocations: 12.55 MB / 0.7199 GB, free: 56.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.265e-05/1.936, allocations: 119.8 kB / 0.72 GB, free: 56.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01986/1.956, allocations: 8.719 MB / 0.7285 GB, free: 51.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001819/1.958, allocations: 141.7 kB / 0.7286 GB, free: 51.69 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006712/1.964, allocations: 4.604 MB / 0.7331 GB, free: 47.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.004077/1.968, allocations: 2.266 MB / 0.7353 GB, free: 45.73 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00784/1.976, allocations: 1.502 MB / 0.7368 GB, free: 44.21 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.385e-05/1.976, allocations: 305.1 kB / 0.7371 GB, free: 43.91 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007762/1.984, allocations: 4.192 MB / 0.7412 GB, free: 39.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008839/1.993, allocations: 7.233 MB / 0.7483 GB, free: 31.12 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01559/2.009, allocations: 12.4 MB / 0.7604 GB, free: 17.65 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001133/2.009, allocations: 28 kB / 0.7604 GB, free: 17.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.02275/2.032, allocations: 12.4 MB / 0.7725 GB, free: 5.703 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000122/2.032, allocations: 48 kB / 0.7726 GB, free: 5.656 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002003/2.032, allocations: 100 kB / 0.7727 GB, free: 5.559 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/2.033, allocations: 421.5 kB / 0.7731 GB, free: 5.129 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007638/2.041, allocations: 2.096 MB / 0.7751 GB, free: 3.168 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006965/2.048, allocations: 9.602 MB / 0.7845 GB, free: 8.805 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008505/2.056, allocations: 1.4 MB / 0.7858 GB, free: 7.391 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001858/2.058, allocations: 396 kB / 0.7862 GB, free: 7.004 MB / 0.4982 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.01163/2.07, allocations: 4.656 MB / 0.7908 GB, free: 2.469 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003505/2.073, allocations: 0.7253 MB / 0.7915 GB, free: 1.734 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0261/2.099, allocations: 11.04 MB / 0.8023 GB, free: 6.594 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.96e-05/2.099, allocations: 68 kB / 0.8023 GB, free: 6.527 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.903e-05/2.1, allocations: 4 kB / 0.8023 GB, free: 6.523 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001355/2.1, allocations: 37.5 kB / 0.8024 GB, free: 6.488 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.552/2.652, allocations: 159.2 MB / 0.9578 GB, free: 102.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0005666/2.652, allocations: 88 kB / 0.9579 GB, free: 102.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006855/2.659, allocations: 1.574 MB / 0.9595 GB, free: 100.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001175/2.66, allocations: 384.8 kB / 0.9598 GB, free: 100.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002357/2.663, allocations: 248.6 kB / 0.9601 GB, free: 99.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005853/2.669, allocations: 9.462 MB / 0.9693 GB, free: 89.77 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-05/2.669, allocations: 139.4 kB / 0.9694 GB, free: 89.63 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03212/2.701, allocations: 18.85 MB / 0.9878 GB, free: 69.06 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007898/2.709, allocations: 2.04 MB / 0.9898 GB, free: 67.08 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004035/2.713, allocations: 247.9 kB / 0.9901 GB, free: 66.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00929/2.722, allocations: 0.562 MB / 0.9906 GB, free: 66.27 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00275/2.725, allocations: 0.7494 MB / 0.9913 GB, free: 65.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002127/2.727, allocations: 316 kB / 0.9916 GB, free: 65.21 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.01671/2.744, allocations: 6.113 MB / 0.9976 GB, free: 59.12 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.51e-07/2.744, allocations: 2.078 kB / 0.9976 GB, free: 59.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.02037/2.764, allocations: 2.683 MB / 1 GB, free: 56.43 MB / 0.545 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.004316/2.769, allocations: 0.501 MB / 1.001 GB, free: 55.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.04275/2.812, allocations: 17.43 MB / 1.018 GB, free: 38.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 0.0001168/2.812, allocations: 16 kB / 1.018 GB, free: 38.49 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.009346/2.821, allocations: 5.516 MB / 1.023 GB, free: 32.91 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01759/2.839, allocations: 1.501 MB / 1.025 GB, free: 31.46 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3242/3.163, allocations: 25.36 MB / 1.049 GB, free: 153.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01019/3.173, allocations: 7.883 MB / 1.057 GB, free: 152.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.01179/3.185, allocations: 3.647 MB / 1.061 GB, free: 152 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00366/3.189, allocations: 0.5975 MB / 1.061 GB, free: 152 MB / 0.545 GB Notification: Performance of SimCode: time 1.523e-06/3.189, allocations: 1.094 kB / 1.061 GB, free: 152 MB / 0.545 GB Notification: Performance of Templates: time 0.1924/3.381, allocations: 105.3 MB / 1.164 GB, free: 87.02 MB / 0.545 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)