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.001413/0.001414, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.01293/0.01293, allocations: 173.1 kB / 16.26 MB, free: 6.613 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.953/1.953, allocations: 205.4 MB / 222.4 MB, free: 5.801 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.4111/0.4111, allocations: 40 MB / 310.7 MB, free: 9.773 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.0006299/0.00063, allocations: 19.98 kB / 379.5 MB, free: 12.28 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1659, allocations: 57.95 MB / 437.4 MB, free: 2.227 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009425/0.1754, allocations: 6.374 MB / 443.8 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006444/0.1819, allocations: 2.151 MB / 445.9 MB, free: 9.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002081/0.1841, allocations: 27.94 kB / 446 MB, free: 9.633 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001915/0.186, allocations: 310.6 kB / 446.3 MB, free: 9.328 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004285/0.1904, allocations: 0.7856 MB / 447 MB, free: 8.539 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002077/0.1925, allocations: 0.5416 MB / 447.6 MB, free: 7.996 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002466/0.1949, allocations: 1.128 MB / 448.7 MB, free: 6.863 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003468/0.1984, allocations: 1.427 MB / 450.1 MB, free: 5.395 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001354/0.1998, allocations: 422 kB / 450.6 MB, free: 4.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001286/0.2011, allocations: 0.5444 MB / 451.1 MB, free: 4.434 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003523/0.2015, allocations: 51.94 kB / 451.1 MB, free: 4.383 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001448/0.2029, allocations: 231.8 kB / 451.4 MB, free: 4.156 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003674/0.2033, allocations: 199 kB / 451.6 MB, free: 3.961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001316/0.2046, allocations: 0.53 MB / 452.1 MB, free: 3.422 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002892/0.2075, allocations: 1.389 MB / 453.5 MB, free: 2.027 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.2076, allocations: 0 / 453.5 MB, free: 2.027 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.881e-06/0.2076, allocations: 0 / 453.5 MB, free: 2.027 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.863e-05/0.2077, allocations: 7.875 kB / 453.5 MB, free: 2.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.004907/0.2126, allocations: 1.483 MB / 455 MB, free: 496 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.916e-05/0.2126, allocations: 12.03 kB / 455 MB, free: 484 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3527/0.5653, allocations: 1.435 MB / 456.4 MB, free: 48.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001666/0.5671, allocations: 0.5341 MB / 457 MB, free: 48.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.923e-05/0.5672, allocations: 93.23 kB / 457.1 MB, free: 48.06 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002174/0.5674, allocations: 130.1 kB / 457.2 MB, free: 48.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002387/0.5698, allocations: 1.189 MB / 458.4 MB, free: 47.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.942e-05/0.5698, allocations: 2.938 kB / 458.4 MB, free: 47.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/0.57, allocations: 57.66 kB / 458.4 MB, free: 47.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.818e-05/0.57, allocations: 29.12 kB / 458.5 MB, free: 47.97 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002238/0.5723, allocations: 1.446 MB / 459.9 MB, free: 47.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007057/0.5793, allocations: 4.869 MB / 464.8 MB, free: 45.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001724/0.5811, allocations: 1.2 MB / 466 MB, free: 45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005022/0.5816, allocations: 370.5 kB / 466.3 MB, free: 44.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.284e-05/0.5817, allocations: 109.5 kB / 466.4 MB, free: 44.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.5817, allocations: 42.19 kB / 466.5 MB, free: 44.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 3.066e-06/0.5817, allocations: 0 / 466.5 MB, free: 44.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.002065/0.5838, allocations: 1.219 MB / 467.7 MB, free: 44.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.5838, allocations: 62.41 kB / 467.8 MB, free: 44.01 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008597/0.5847, allocations: 0.798 MB / 468.6 MB, free: 43.65 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.557e-05/0.5848, allocations: 44.95 kB / 468.6 MB, free: 43.6 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003512/0.5851, allocations: 481.1 kB / 469.1 MB, free: 43.22 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002086/0.5854, allocations: 313.3 kB / 469.4 MB, free: 42.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.5855, allocations: 89.77 kB / 469.5 MB, free: 42.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.5856, allocations: 400.6 kB / 469.9 MB, free: 42.58 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005584/0.5862, allocations: 347.4 kB / 470.2 MB, free: 42.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006878/0.5869, allocations: 0.6153 MB / 470.8 MB, free: 41.99 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.5881, allocations: 0.985 MB / 471.8 MB, free: 41.31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.5881, allocations: 11.12 kB / 471.8 MB, free: 41.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001773/0.5899, allocations: 1.179 MB / 473 MB, free: 40.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.5899, allocations: 9.031 kB / 473 MB, free: 40.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.5899, allocations: 6.938 kB / 473 MB, free: 40.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002805/0.5902, allocations: 71.62 kB / 473.1 MB, free: 40.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009217/0.5911, allocations: 263.4 kB / 473.3 MB, free: 40.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/0.5926, allocations: 2.641 MB / 476 MB, free: 38.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008306/0.5935, allocations: 155.9 kB / 476.1 MB, free: 37.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-05/0.5936, allocations: 48.61 kB / 476.2 MB, free: 37.95 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.000371/0.5939, allocations: 253.6 kB / 476.4 MB, free: 37.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.5941, allocations: 89.28 kB / 476.5 MB, free: 37.69 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/0.5957, allocations: 1.119 MB / 477.6 MB, free: 37.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.5958, allocations: 12.66 kB / 477.6 MB, free: 37.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.5958, allocations: 4.125 kB / 477.6 MB, free: 37.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.5958, allocations: 7.359 kB / 477.6 MB, free: 37.15 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003455/0.5993, allocations: 2.731 MB / 480.4 MB, free: 35.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.5993, allocations: 6.188 kB / 480.4 MB, free: 35.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00067/0.6, allocations: 178.8 kB / 480.6 MB, free: 35.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002217/0.6002, allocations: 68.19 kB / 480.6 MB, free: 35.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.384e-05/0.6003, allocations: 30.45 kB / 480.7 MB, free: 35.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001577/0.6018, allocations: 2.621 MB / 483.3 MB, free: 32.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.383e-06/0.6019, allocations: 14.59 kB / 483.3 MB, free: 32.65 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002134/0.604, allocations: 1.488 MB / 484.8 MB, free: 31.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004048/0.6044, allocations: 223.3 kB / 485 MB, free: 31.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.6045, allocations: 21.31 kB / 485 MB, free: 31.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006454/0.6052, allocations: 56.11 kB / 485.1 MB, free: 31.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/0.6054, allocations: 79.8 kB / 485.2 MB, free: 31.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.755e-05/0.6055, allocations: 36.59 kB / 485.2 MB, free: 31.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008527/0.6063, allocations: 0.5585 MB / 485.7 MB, free: 31.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.6063, allocations: 3.938 kB / 485.7 MB, free: 31.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001415/0.6078, allocations: 303 kB / 486 MB, free: 31.19 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.0004017/0.6082, allocations: 166.4 kB / 486.2 MB, free: 31.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002053/0.6102, allocations: 1.095 MB / 487.3 MB, free: 30.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.6103, allocations: 6.938 kB / 487.3 MB, free: 30.53 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008167/0.6111, allocations: 0.6231 MB / 487.9 MB, free: 30.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/0.6124, allocations: 130.2 kB / 488.1 MB, free: 30.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00323/0.6156, allocations: 2.29 MB / 490.3 MB, free: 28.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000517/0.6162, allocations: 0.9989 MB / 491.3 MB, free: 27.87 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00062/0.6168, allocations: 149.7 kB / 491.5 MB, free: 27.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/0.617, allocations: 83.23 kB / 491.6 MB, free: 27.8 MB / 382.1 MB Notification: Performance of SimCode: time 8.01e-07/0.617, allocations: 0 / 491.6 MB, free: 27.8 MB / 382.1 MB Notification: Performance of Templates: time 0.02426/0.6413, allocations: 9.819 MB / 0.4896 GB, free: 27.2 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: