Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.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.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001367/0.001367, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.834/1.834, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.402/0.402, allocations: 40 MB / 310.4 MB, free: 9.984 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.0006656/0.000666, allocations: 19.98 kB / 378.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1815, allocations: 57.96 MB / 436.8 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.008071/0.1896, allocations: 5.955 MB / 442.7 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006432/0.1961, allocations: 2.032 MB / 444.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00229/0.1985, allocations: 20 kB / 444.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002097/0.2006, allocations: 238.6 kB / 445 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00414/0.2048, allocations: 0.7194 MB / 445.8 MB, free: 9.566 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001827/0.2067, allocations: 474.9 kB / 446.2 MB, free: 9.102 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002052/0.2087, allocations: 1.085 MB / 447.3 MB, free: 8.012 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002794/0.2115, allocations: 1.276 MB / 448.6 MB, free: 6.699 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.2126, allocations: 402.3 kB / 449 MB, free: 6.305 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006431/0.2132, allocations: 0.5251 MB / 449.5 MB, free: 5.777 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.155e-05/0.2133, allocations: 52 kB / 449.5 MB, free: 5.727 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007673/0.2141, allocations: 223.8 kB / 449.8 MB, free: 5.508 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00017/0.2143, allocations: 195.1 kB / 450 MB, free: 5.316 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002625/0.2146, allocations: 213.1 kB / 450.2 MB, free: 5.102 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001187/0.2157, allocations: 1.099 MB / 451.3 MB, free: 4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.2158, allocations: 0 / 451.3 MB, free: 4 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.2158, allocations: 0 / 451.3 MB, free: 4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.2158, allocations: 3.938 kB / 451.3 MB, free: 3.996 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.003768/0.2196, allocations: 1.506 MB / 452.8 MB, free: 2.438 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.2196, allocations: 8.031 kB / 452.8 MB, free: 2.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009545/0.2292, allocations: 1.446 MB / 454.2 MB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001745/0.231, allocations: 0.5207 MB / 454.7 MB, free: 424 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.763e-05/0.2311, allocations: 94.48 kB / 454.8 MB, free: 328 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001929/0.2313, allocations: 120 kB / 455 MB, free: 208 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3251/0.5564, allocations: 1.185 MB / 456.1 MB, free: 47.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.058e-05/0.5565, allocations: 5.359 kB / 456.1 MB, free: 47.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/0.5567, allocations: 51.94 kB / 456.2 MB, free: 47.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.744e-05/0.5567, allocations: 32.97 kB / 456.2 MB, free: 47.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002222/0.5589, allocations: 1.436 MB / 457.7 MB, free: 47.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007112/0.5661, allocations: 4.86 MB / 462.5 MB, free: 45.28 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001675/0.5678, allocations: 1.191 MB / 463.7 MB, free: 44.67 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005061/0.5683, allocations: 379 kB / 464.1 MB, free: 44.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/0.5684, allocations: 97.45 kB / 464.2 MB, free: 44.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/0.5685, allocations: 49.58 kB / 464.2 MB, free: 44.37 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 5.901e-06/0.5685, allocations: 7.156 kB / 464.2 MB, free: 44.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.002034/0.5705, allocations: 1.205 MB / 465.4 MB, free: 43.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.5706, allocations: 66.22 kB / 465.5 MB, free: 43.67 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008783/0.5715, allocations: 0.7928 MB / 466.3 MB, free: 43.31 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.59e-05/0.5715, allocations: 41.14 kB / 466.3 MB, free: 43.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002886/0.5718, allocations: 481.1 kB / 466.8 MB, free: 42.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002159/0.5721, allocations: 311.1 kB / 467.1 MB, free: 42.65 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.902e-05/0.5721, allocations: 26.28 kB / 467.1 MB, free: 42.63 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.5723, allocations: 395.7 kB / 467.5 MB, free: 42.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005394/0.5728, allocations: 343.9 kB / 467.9 MB, free: 42.15 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006811/0.5735, allocations: 0.61 MB / 468.5 MB, free: 41.69 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006724/0.5742, allocations: 431.8 kB / 468.9 MB, free: 41.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.5742, allocations: 7 kB / 468.9 MB, free: 41.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001986/0.5762, allocations: 1.177 MB / 470.1 MB, free: 40.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.443e-05/0.5762, allocations: 9.781 kB / 470.1 MB, free: 40.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.5763, allocations: 6.625 kB / 470.1 MB, free: 40.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003246/0.5766, allocations: 66.78 kB / 470.2 MB, free: 40.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009594/0.5776, allocations: 262.7 kB / 470.4 MB, free: 40.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001904/0.5795, allocations: 2.623 MB / 473 MB, free: 38.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008318/0.5803, allocations: 161.4 kB / 473.2 MB, free: 38.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.426e-05/0.5804, allocations: 47.25 kB / 473.2 MB, free: 38.14 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (141): * Single equations (assignments): 139 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003922/0.5808, allocations: 253.8 kB / 473.5 MB, free: 37.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.581, allocations: 95.12 kB / 473.6 MB, free: 37.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001688/0.5826, allocations: 1.118 MB / 474.7 MB, free: 37.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.5827, allocations: 14.03 kB / 474.7 MB, free: 37.33 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.5827, allocations: 0.6562 kB / 474.7 MB, free: 37.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.5827, allocations: 6.891 kB / 474.7 MB, free: 37.33 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003311/0.586, allocations: 2.72 MB / 477.4 MB, free: 35.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.251e-05/0.586, allocations: 6.156 kB / 477.4 MB, free: 35.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006665/0.5867, allocations: 187.7 kB / 477.6 MB, free: 35.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002199/0.5869, allocations: 58.38 kB / 477.7 MB, free: 35.51 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.98e-05/0.587, allocations: 31.89 kB / 477.7 MB, free: 35.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00165/0.5887, allocations: 2.629 MB / 480.3 MB, free: 32.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/0.5887, allocations: 13.94 kB / 480.4 MB, free: 32.83 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002015/0.5907, allocations: 1.481 MB / 481.8 MB, free: 31.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000253/0.591, allocations: 222.2 kB / 482.1 MB, free: 31.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.5911, allocations: 23.72 kB / 482.1 MB, free: 31.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005311/0.5916, allocations: 59.06 kB / 482.1 MB, free: 31.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.5918, allocations: 76.56 kB / 482.2 MB, free: 31.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.443e-05/0.5918, allocations: 34.69 kB / 482.2 MB, free: 31.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006824/0.5925, allocations: 0.5581 MB / 482.8 MB, free: 31.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5925, allocations: 0 / 482.8 MB, free: 31.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001082/0.5936, allocations: 285.3 kB / 483.1 MB, free: 31.38 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentSource.pin_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 (94): * Single equations (assignments): 92 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.0003023/0.5939, allocations: 168.3 kB / 483.2 MB, free: 31.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001715/0.5956, allocations: 1.098 MB / 484.3 MB, free: 30.72 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.5957, allocations: 4.312 kB / 484.4 MB, free: 30.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007628/0.5964, allocations: 0.6189 MB / 485 MB, free: 30.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008059/0.5972, allocations: 130.8 kB / 485.1 MB, free: 30.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002995/0.6002, allocations: 2.162 MB / 487.3 MB, free: 28.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/0.6007, allocations: 1.001 MB / 488.3 MB, free: 28.15 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006304/0.6013, allocations: 151.9 kB / 488.4 MB, free: 28.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002202/0.6015, allocations: 83.53 kB / 488.5 MB, free: 28.09 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.6016, allocations: 0 / 488.5 MB, free: 28.09 MB / 382.1 MB Notification: Performance of Templates: time 0.02104/0.6226, allocations: 9.542 MB / 498 MB, free: 27.46 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) Environment - environmentSimulation: