Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01392/0.01392, allocations: 176.7 kB / 15.13 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.113/2.113, allocations: 194.5 MB / 210.3 MB, free: 7.605 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00177/0.00177, allocations: 128 kB / 255.6 MB, free: 10.21 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.297/0.297, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006613/0.0006616, allocations: 14.84 kB / 406.3 MB, free: 51.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.106, allocations: 54.88 MB / 461.2 MB, free: 3.152 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.02855/0.1346, allocations: 17.87 MB / 479 MB, free: 1.219 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0142/0.1489, allocations: 4.438 MB / 483.5 MB, free: 12.77 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004111/0.153, allocations: 127.6 kB / 483.6 MB, free: 12.64 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004543/0.1576, allocations: 0.8812 MB / 484.5 MB, free: 11.75 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01007/0.1678, allocations: 2.005 MB / 486.5 MB, free: 9.75 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005076/0.1729, allocations: 0.9375 MB / 487.4 MB, free: 8.816 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.02054/0.1934, allocations: 11.5 MB / 498.9 MB, free: 13.27 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05829/0.2518, allocations: 21.32 MB / 0.508 GB, free: 7.855 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01037/0.2622, allocations: 4.426 MB / 0.5124 GB, free: 3.414 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01348/0.2757, allocations: 5.264 MB / 0.5175 GB, free: 14.13 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003425/0.2792, allocations: 0.6836 MB / 0.5182 GB, free: 13.45 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006132/0.2854, allocations: 0.8552 MB / 0.519 GB, free: 12.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004923/0.2904, allocations: 2.328 MB / 0.5213 GB, free: 10.25 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005716/0.2962, allocations: 2.34 MB / 0.5236 GB, free: 7.902 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3531/0.6493, allocations: 19.73 MB / 0.5428 GB, free: 25.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.487e-06/0.6494, allocations: 1.5 kB / 0.5428 GB, free: 25.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.917e-06/0.6494, allocations: 0 / 0.5428 GB, free: 25.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0007648/0.6502, allocations: 2.844 kB / 0.5428 GB, free: 25.73 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3353 * Number of variables: 3353 Notification: Performance of Generate backend data structure: time 0.05455/0.7048, allocations: 12.06 MB / 0.5546 GB, free: 19.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/0.7048, allocations: 12.31 kB / 0.5546 GB, free: 19.86 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008923/0.7138, allocations: 1.747 MB / 0.5563 GB, free: 19.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1/0.8138, allocations: 12.47 MB / 0.5685 GB, free: 14.6 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02281/0.8367, allocations: 6.407 MB / 0.5748 GB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001397/0.8382, allocations: 0.9012 MB / 0.5756 GB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007228/0.8454, allocations: 1.182 MB / 0.5768 GB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0694/0.9149, allocations: 18.92 MB / 0.5953 GB, free: 0.875 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007471/0.9157, allocations: 15.91 kB / 0.5953 GB, free: 0.8594 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005857/0.9215, allocations: 0.4892 MB / 0.5958 GB, free: 392 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001129/0.9227, allocations: 0.6872 MB / 0.5964 GB, free: 15.7 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06806/0.9908, allocations: 19.7 MB / 0.6157 GB, free: 11.97 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1862/1.177, allocations: 62.14 MB / 0.6764 GB, free: 13.79 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04037/1.218, allocations: 20.13 MB / 0.696 GB, free: 8.492 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01355/1.231, allocations: 4.604 MB / 0.7005 GB, free: 3.863 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0012/1.232, allocations: 245.2 kB / 0.7007 GB, free: 3.633 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001299/1.233, allocations: 111.4 kB / 0.7009 GB, free: 3.516 MB / 490.7 MB Notification: Performance of pre-optimization done (n=674): time 1.052e-05/1.233, allocations: 0 / 0.7009 GB, free: 3.516 MB / 490.7 MB Notification: Performance of matching and sorting (n=674): time 0.04063/1.273, allocations: 12.49 MB / 0.713 GB, free: 6.832 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/1.273, allocations: 120.7 kB / 0.7132 GB, free: 6.699 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3637/1.637, allocations: 8.496 MB / 0.7215 GB, free: 166.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001375/1.639, allocations: 134.3 kB / 0.7216 GB, free: 166.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00524/1.644, allocations: 4.534 MB / 0.726 GB, free: 165 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003454/1.647, allocations: 2.261 MB / 0.7282 GB, free: 163.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001147/1.648, allocations: 166.2 kB / 0.7284 GB, free: 163.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0007249/1.649, allocations: 0.6336 MB / 0.729 GB, free: 163.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01244/1.662, allocations: 4.17 MB / 0.7331 GB, free: 161.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01366/1.675, allocations: 7.204 MB / 0.7401 GB, free: 156.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0137/1.689, allocations: 5.729 MB / 0.7457 GB, free: 154.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001515/1.689, allocations: 33.84 kB / 0.7457 GB, free: 154.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.03552/1.725, allocations: 12.33 MB / 0.7578 GB, free: 149.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.447e-05/1.725, allocations: 53.44 kB / 0.7578 GB, free: 149.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001797/1.725, allocations: 98.69 kB / 0.7579 GB, free: 149.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001556/1.727, allocations: 431.2 kB / 0.7583 GB, free: 149.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01475/1.742, allocations: 2.099 MB / 0.7604 GB, free: 149.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00812/1.75, allocations: 8.922 MB / 0.7691 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01169/1.762, allocations: 1.39 MB / 0.7705 GB, free: 140.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002145/1.764, allocations: 395.5 kB / 0.7708 GB, free: 139.9 MB / 0.4948 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01281/1.777, allocations: 4.632 MB / 0.7754 GB, free: 136 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002723/1.779, allocations: 0.702 MB / 0.776 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03156/1.811, allocations: 11.03 MB / 0.7868 GB, free: 126.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.991e-05/1.811, allocations: 72 kB / 0.7869 GB, free: 126.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.591e-05/1.811, allocations: 0 / 0.7869 GB, free: 126.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001936/1.811, allocations: 37.83 kB / 0.7869 GB, free: 126.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6891/2.5, allocations: 159.1 MB / 0.9423 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004988/2.501, allocations: 89.06 kB / 0.9424 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01366/2.515, allocations: 1.577 MB / 0.9439 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001663/2.516, allocations: 393.8 kB / 0.9443 GB, free: 142.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001661/2.518, allocations: 256.7 kB / 0.9445 GB, free: 142.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008398/2.526, allocations: 8.803 MB / 0.9531 GB, free: 133.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-05/2.527, allocations: 135.4 kB / 0.9533 GB, free: 133.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03878/2.565, allocations: 18.79 MB / 0.9716 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007809/2.573, allocations: 2.032 MB / 0.9736 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003476/2.577, allocations: 247.9 kB / 0.9738 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009958/2.587, allocations: 0.5698 MB / 0.9744 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002248/2.589, allocations: 0.7394 MB / 0.9751 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001446/2.591, allocations: 312 kB / 0.9754 GB, free: 111.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01445/2.605, allocations: 5.949 MB / 0.9812 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.002e-06/2.605, allocations: 0 / 0.9812 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01397/2.619, allocations: 2.671 MB / 0.9838 GB, free: 103 MB / 0.4948 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03961/2.659, allocations: 19.7 MB / 1.003 GB, free: 81.13 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02463/2.683, allocations: 10.56 MB / 1.013 GB, free: 70.48 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.833e-05/2.684, allocations: 16.12 kB / 1.013 GB, free: 70.46 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.013/2.697, allocations: 5.494 MB / 1.019 GB, free: 64.91 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0169/2.714, allocations: 1.489 MB / 1.02 GB, free: 63.45 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.584/3.298, allocations: 87.46 MB / 1.106 GB, free: 168 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01595/3.314, allocations: 8.004 MB / 1.113 GB, free: 167 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0218/3.335, allocations: 3.639 MB / 1.117 GB, free: 166.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01513/3.351, allocations: 4.185 MB / 1.121 GB, free: 164.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.512e-06/3.351, allocations: 0 / 1.121 GB, free: 164.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.841/4.192, allocations: 185.4 MB / 1.302 GB, free: 141.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000241/4.192, allocations: 220.3 kB / 1.302 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.068/13.26, allocations: 4 kB / 1.302 GB, free: 141.4 MB / 0.5105 GB