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.001274/0.001275, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001418/0.001418, allocations: 191.2 kB / 16.13 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.93/1.93, allocations: 205.1 MB / 222 MB, free: 4.773 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.4025/0.4025, allocations: 39.94 MB / 309.3 MB, free: 9.617 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.001516/0.001516, allocations: 62.41 kB / 376.9 MB, free: 13.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1681, allocations: 56.88 MB / 433.8 MB, free: 4.406 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.008679/0.1768, allocations: 6.876 MB / 440.7 MB, free: 13.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005272/0.1821, allocations: 2.186 MB / 442.9 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001089/0.1833, allocations: 20 kB / 442.9 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003528/0.1869, allocations: 1.432 MB / 444.3 MB, free: 9.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003312/0.1902, allocations: 0.7894 MB / 445.1 MB, free: 9.047 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001639/0.1918, allocations: 0.5493 MB / 445.7 MB, free: 8.496 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001994/0.1938, allocations: 1.132 MB / 446.8 MB, free: 7.359 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001295/0.1952, allocations: 0.7518 MB / 447.5 MB, free: 6.586 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007701/0.1959, allocations: 458 kB / 448 MB, free: 6.137 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006125/0.1966, allocations: 0.5873 MB / 448.6 MB, free: 5.547 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001382/0.1967, allocations: 68 kB / 448.6 MB, free: 5.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008498/0.1976, allocations: 259.8 kB / 448.9 MB, free: 5.227 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002128/0.1978, allocations: 227 kB / 449.1 MB, free: 5.004 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005989/0.1984, allocations: 0.544 MB / 449.7 MB, free: 4.457 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001757/0.2002, allocations: 1.429 MB / 451.1 MB, free: 3.023 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.2002, allocations: 0 / 451.1 MB, free: 3.023 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2002, allocations: 0 / 451.1 MB, free: 3.023 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.2002, allocations: 4 kB / 451.1 MB, free: 3.02 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.004449/0.2047, allocations: 1.698 MB / 452.8 MB, free: 1.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.939e-05/0.2047, allocations: 8.031 kB / 452.8 MB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3856/0.5904, allocations: 1.425 MB / 454.2 MB, free: 40.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00162/0.592, allocations: 0.5358 MB / 454.8 MB, free: 40.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.9e-05/0.5922, allocations: 91.86 kB / 454.9 MB, free: 40.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002341/0.5924, allocations: 126.9 kB / 455 MB, free: 40.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002275/0.5947, allocations: 1.186 MB / 456.2 MB, free: 40.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.765e-05/0.5947, allocations: 7.625 kB / 456.2 MB, free: 40.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/0.5949, allocations: 51.88 kB / 456.2 MB, free: 40.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.192e-05/0.5949, allocations: 31.97 kB / 456.2 MB, free: 40.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002332/0.5973, allocations: 1.436 MB / 457.7 MB, free: 40.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007356/0.6046, allocations: 4.843 MB / 462.5 MB, free: 38.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/0.6064, allocations: 1.196 MB / 463.7 MB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005289/0.607, allocations: 374.2 kB / 464.1 MB, free: 37.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.549e-05/0.6071, allocations: 97.92 kB / 464.2 MB, free: 37.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/0.6071, allocations: 45.17 kB / 464.2 MB, free: 37.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 3.467e-06/0.6071, allocations: 0 / 464.2 MB, free: 37.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.002167/0.6093, allocations: 1.196 MB / 465.4 MB, free: 37.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.6094, allocations: 61.84 kB / 465.5 MB, free: 36.97 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009518/0.6103, allocations: 0.8033 MB / 466.3 MB, free: 36.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.866e-05/0.6104, allocations: 40.89 kB / 466.3 MB, free: 36.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003075/0.6107, allocations: 481.9 kB / 466.8 MB, free: 36.19 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002417/0.611, allocations: 312.9 kB / 467.1 MB, free: 35.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003101/0.6113, allocations: 203 kB / 467.3 MB, free: 35.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.6114, allocations: 401.8 kB / 467.7 MB, free: 35.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005753/0.612, allocations: 342.6 kB / 468 MB, free: 35.37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007533/0.6128, allocations: 0.6096 MB / 468.6 MB, free: 34.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/0.6141, allocations: 0.9734 MB / 469.6 MB, free: 34.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.6141, allocations: 3.188 kB / 469.6 MB, free: 34.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002027/0.6162, allocations: 1.167 MB / 470.8 MB, free: 33.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.6162, allocations: 9.906 kB / 470.8 MB, free: 33.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.02e-05/0.6162, allocations: 13.78 kB / 470.8 MB, free: 33.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003428/0.6166, allocations: 69.92 kB / 470.9 MB, free: 33.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009756/0.6176, allocations: 263.2 kB / 471.1 MB, free: 33.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001796/0.6194, allocations: 2.627 MB / 473.8 MB, free: 31.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000894/0.6203, allocations: 151 kB / 473.9 MB, free: 31.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.588e-05/0.6204, allocations: 46.91 kB / 474 MB, free: 31 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0004118/0.6208, allocations: 258 kB / 474.2 MB, free: 30.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.621, allocations: 100.4 kB / 474.3 MB, free: 30.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00171/0.6227, allocations: 1.108 MB / 475.4 MB, free: 30.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.6227, allocations: 9.625 kB / 475.4 MB, free: 30.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.6227, allocations: 3.938 kB / 475.4 MB, free: 30.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.6227, allocations: 6.781 kB / 475.4 MB, free: 30.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003887/0.6266, allocations: 2.724 MB / 478.2 MB, free: 28.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.6266, allocations: 6.312 kB / 478.2 MB, free: 28.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006956/0.6273, allocations: 177.7 kB / 478.3 MB, free: 28.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002596/0.6276, allocations: 63.94 kB / 478.4 MB, free: 28.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-05/0.6277, allocations: 23.84 kB / 478.4 MB, free: 28.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001907/0.6296, allocations: 2.628 MB / 481 MB, free: 25.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/0.6296, allocations: 9.938 kB / 481.1 MB, free: 25.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002212/0.6318, allocations: 1.48 MB / 482.5 MB, free: 24.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002915/0.6322, allocations: 197.3 kB / 482.7 MB, free: 24.72 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/0.6323, allocations: 25.03 kB / 482.8 MB, free: 24.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006225/0.6329, allocations: 51.86 kB / 482.8 MB, free: 24.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.6331, allocations: 86.22 kB / 482.9 MB, free: 24.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.567e-05/0.6331, allocations: 31 kB / 482.9 MB, free: 24.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007346/0.6339, allocations: 0.566 MB / 483.5 MB, free: 24.42 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.342e-06/0.6339, allocations: 0 / 483.5 MB, free: 24.42 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001235/0.6351, allocations: 298.9 kB / 483.8 MB, free: 24.36 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0003383/0.6355, allocations: 164.9 kB / 483.9 MB, free: 24.24 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002478/0.638, allocations: 1.091 MB / 485 MB, free: 23.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.387e-06/0.638, allocations: 6.266 kB / 485 MB, free: 23.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.6391, allocations: 0.6218 MB / 485.7 MB, free: 23.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.6401, allocations: 116.6 kB / 485.8 MB, free: 23.35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003596/0.6437, allocations: 2.239 MB / 488 MB, free: 21.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004654/0.6442, allocations: 0.9968 MB / 489 MB, free: 21.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007153/0.6449, allocations: 154.1 kB / 489.2 MB, free: 21.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002506/0.6452, allocations: 83.53 kB / 489.2 MB, free: 21.07 MB / 382.1 MB Notification: Performance of SimCode: time 2.515e-06/0.6452, allocations: 0 / 489.2 MB, free: 21.07 MB / 382.1 MB Notification: Performance of Templates: time 0.03027/0.6755, allocations: 9.955 MB / 499.2 MB, free: 20.46 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile (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)