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.001764/0.001764, 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.003216/0.003216, allocations: 195 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.942/1.942, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.4357/0.4357, allocations: 39.94 MB / 309.7 MB, free: 9.266 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.002097/0.002097, allocations: 74.95 kB / 377.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.1948, allocations: 56.87 MB / 434.5 MB, free: 3.668 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009672/0.2045, allocations: 6.915 MB / 441.4 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005866/0.2104, allocations: 2.19 MB / 443.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007316/0.2113, allocations: 24 kB / 443.6 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003744/0.215, allocations: 1.536 MB / 445.2 MB, free: 8.949 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002426/0.2174, allocations: 0.8509 MB / 446 MB, free: 8.094 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.2191, allocations: 0.5802 MB / 446.6 MB, free: 7.512 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001956/0.2211, allocations: 1.175 MB / 447.8 MB, free: 6.332 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002049/0.2232, allocations: 0.82 MB / 448.6 MB, free: 5.484 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.2242, allocations: 486.1 kB / 449.1 MB, free: 5.008 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006977/0.2249, allocations: 0.6224 MB / 449.7 MB, free: 4.383 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001446/0.2251, allocations: 96 kB / 449.8 MB, free: 4.289 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008119/0.2259, allocations: 291.8 kB / 450.1 MB, free: 4.004 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002137/0.2261, allocations: 247 kB / 450.3 MB, free: 3.762 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006562/0.2268, allocations: 0.5752 MB / 450.9 MB, free: 3.184 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001865/0.2286, allocations: 1.448 MB / 452.3 MB, free: 1.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.2287, allocations: 0 / 452.3 MB, free: 1.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.2287, allocations: 0 / 452.3 MB, free: 1.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.607e-05/0.2287, allocations: 0 / 452.3 MB, free: 1.73 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.392/0.6207, allocations: 1.707 MB / 454 MB, free: 51.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.158e-05/0.6208, allocations: 13.7 kB / 454 MB, free: 51.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01074/0.6316, allocations: 1.423 MB / 455.5 MB, free: 51.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001592/0.6332, allocations: 0.5374 MB / 456 MB, free: 51.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.172e-05/0.6333, allocations: 94.83 kB / 456.1 MB, free: 51.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002372/0.6335, allocations: 127.5 kB / 456.2 MB, free: 51.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00218/0.6357, allocations: 1.183 MB / 457.4 MB, free: 50.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.294e-05/0.6358, allocations: 6.547 kB / 457.4 MB, free: 50.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001371/0.6359, allocations: 52.47 kB / 457.5 MB, free: 50.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.15e-05/0.636, allocations: 29.41 kB / 457.5 MB, free: 50.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002093/0.6381, allocations: 1.44 MB / 458.9 MB, free: 50.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006958/0.645, allocations: 4.84 MB / 463.8 MB, free: 47.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/0.6468, allocations: 1.199 MB / 465 MB, free: 46.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005368/0.6474, allocations: 373 kB / 465.3 MB, free: 46.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000127/0.6475, allocations: 102.3 kB / 465.4 MB, free: 46.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.992e-05/0.6476, allocations: 38.84 kB / 465.5 MB, free: 46.56 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 4.007e-06/0.6476, allocations: 4 kB / 465.5 MB, free: 46.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.00211/0.6497, allocations: 1.199 MB / 466.7 MB, free: 45.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.6498, allocations: 62.88 kB / 466.7 MB, free: 45.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.6508, allocations: 0.8066 MB / 467.5 MB, free: 45.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.303e-05/0.6509, allocations: 44.05 kB / 467.6 MB, free: 45.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003053/0.6512, allocations: 478.3 kB / 468.1 MB, free: 45.08 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002248/0.6514, allocations: 313.1 kB / 468.4 MB, free: 44.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003092/0.6517, allocations: 198.8 kB / 468.6 MB, free: 44.74 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.6519, allocations: 394 kB / 468.9 MB, free: 44.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006056/0.6525, allocations: 341.1 kB / 469.3 MB, free: 44.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008531/0.6534, allocations: 0.6068 MB / 469.9 MB, free: 43.81 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001637/0.655, allocations: 0.9752 MB / 470.9 MB, free: 43.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.206e-05/0.655, allocations: 7.156 kB / 470.9 MB, free: 43.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002268/0.6573, allocations: 1.175 MB / 472 MB, free: 42.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/0.6573, allocations: 6.219 kB / 472 MB, free: 42.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.6574, allocations: 9.469 kB / 472 MB, free: 42.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003392/0.6577, allocations: 67.19 kB / 472.1 MB, free: 42.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009427/0.6587, allocations: 266.2 kB / 472.4 MB, free: 42.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001806/0.6605, allocations: 2.824 MB / 475.2 MB, free: 39.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009264/0.6614, allocations: 148 kB / 475.3 MB, free: 39.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.287e-05/0.6615, allocations: 48.44 kB / 475.4 MB, free: 39.65 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.0004317/0.662, allocations: 255 kB / 475.6 MB, free: 39.44 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/0.6621, allocations: 97.02 kB / 475.7 MB, free: 39.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001695/0.6638, allocations: 1.106 MB / 476.8 MB, free: 38.85 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.6638, allocations: 8.906 kB / 476.8 MB, free: 38.85 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.6638, allocations: 0.875 kB / 476.9 MB, free: 38.85 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.6639, allocations: 6.656 kB / 476.9 MB, free: 38.85 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003345/0.6672, allocations: 2.726 MB / 479.6 MB, free: 37.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-05/0.6672, allocations: 5.875 kB / 479.6 MB, free: 37.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006784/0.6679, allocations: 183.5 kB / 479.8 MB, free: 37.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002168/0.6682, allocations: 72.66 kB / 479.8 MB, free: 37.01 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-05/0.6682, allocations: 28.28 kB / 479.9 MB, free: 37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001671/0.6699, allocations: 2.816 MB / 482.7 MB, free: 34.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/0.6699, allocations: 10.59 kB / 482.7 MB, free: 34.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/0.6719, allocations: 1.481 MB / 484.2 MB, free: 33.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002762/0.6722, allocations: 196.3 kB / 484.4 MB, free: 33.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/0.6723, allocations: 23.75 kB / 484.4 MB, free: 33.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006291/0.673, allocations: 59.45 kB / 484.4 MB, free: 33.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/0.6732, allocations: 80.06 kB / 484.5 MB, free: 33.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.686e-05/0.6732, allocations: 34.38 kB / 484.6 MB, free: 33.01 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007346/0.674, allocations: 0.5641 MB / 485.1 MB, free: 32.76 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.674, allocations: 0 / 485.1 MB, free: 32.76 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001141/0.6751, allocations: 297.4 kB / 485.4 MB, free: 32.7 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.0003408/0.6755, allocations: 170.3 kB / 485.6 MB, free: 32.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002353/0.6778, allocations: 1.13 MB / 486.7 MB, free: 32.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.278e-06/0.6779, allocations: 3.156 kB / 486.7 MB, free: 32.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009046/0.6788, allocations: 0.6202 MB / 487.3 MB, free: 31.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008218/0.6796, allocations: 123 kB / 487.5 MB, free: 31.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00329/0.6829, allocations: 1.841 MB / 489.3 MB, free: 30.49 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006976/0.6836, allocations: 0.9976 MB / 490.3 MB, free: 29.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007272/0.6844, allocations: 151.5 kB / 490.4 MB, free: 29.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003227/0.6847, allocations: 82.98 kB / 490.5 MB, free: 29.71 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.6847, allocations: 0 / 490.5 MB, free: 29.71 MB / 382.1 MB Notification: Performance of Templates: time 0.03462/0.7193, allocations: 10.49 MB / 0.4893 GB, free: 29.04 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)