Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001428/0.001428, allocations: 182.2 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.578/1.578, allocations: 194.3 MB / 207.5 MB, free: 3.391 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001694/0.001694, allocations: 110.8 kB / 252.6 MB, free: 4.816 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2208/0.2208, allocations: 39.94 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.093e-05/3.096e-05, allocations: 4 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1138, allocations: 54.86 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4485/0.5623, allocations: 100.5 MB / 0.5426 GB, free: 7.246 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/0.5627, allocations: 82.33 kB / 0.5427 GB, free: 7.203 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.301/1.864, allocations: 388.5 MB / 0.922 GB, free: 62.33 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.365e-06/1.864, allocations: 0 / 0.922 GB, free: 62.33 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0007512/1.865, allocations: 254.5 kB / 0.9223 GB, free: 62.31 MB / 490.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.03621/1.901, allocations: 10.47 MB / 0.9325 GB, free: 59.11 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/1.901, allocations: 14.47 kB / 0.9325 GB, free: 59.11 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04441/1.945, allocations: 8.368 MB / 0.9407 GB, free: 58.46 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01872/1.964, allocations: 7.242 MB / 0.9478 GB, free: 57.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001423/1.966, allocations: 0.8678 MB / 0.9486 GB, free: 57.17 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005591/1.971, allocations: 1.114 MB / 0.9497 GB, free: 57.17 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05805/2.029, allocations: 20.88 MB / 0.9701 GB, free: 45.89 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004643/2.03, allocations: 31.28 kB / 0.9701 GB, free: 45.87 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004161/2.034, allocations: 489.7 kB / 0.9706 GB, free: 45.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009039/2.035, allocations: 0.8432 MB / 0.9714 GB, free: 44.65 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04153/2.076, allocations: 19.54 MB / 0.9905 GB, free: 27.27 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4957/2.572, allocations: 59.81 MB / 1.049 GB, free: 52.54 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0324/2.605, allocations: 23.89 MB / 1.072 GB, free: 42.68 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0161/2.621, allocations: 10.13 MB / 1.082 GB, free: 42.56 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001375/2.622, allocations: 366.4 kB / 1.082 GB, free: 42.43 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.984e-05/2.622, allocations: 139.5 kB / 1.083 GB, free: 42.39 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1196): time 1.316e-05/2.622, allocations: 3.781 kB / 1.083 GB, free: 42.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1196): time 0.03275/2.655, allocations: 17.88 MB / 1.1 GB, free: 41.97 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.692e-05/2.655, allocations: 152 kB / 1.1 GB, free: 41.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003755/2.659, allocations: 2.642 MB / 1.103 GB, free: 41.69 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001928/2.661, allocations: 192.2 kB / 1.103 GB, free: 41.66 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001966/2.663, allocations: 3.41 MB / 1.106 GB, free: 40.54 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004631/2.668, allocations: 3.891 MB / 1.11 GB, free: 38.04 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001001/2.669, allocations: 171.5 kB / 1.11 GB, free: 38.04 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0007396/2.669, allocations: 0.7194 MB / 1.111 GB, free: 37.71 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01079/2.68, allocations: 7.005 MB / 1.118 GB, free: 37.69 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0127/2.693, allocations: 7.922 MB / 1.126 GB, free: 35.05 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01381/2.707, allocations: 8.281 MB / 1.134 GB, free: 31.87 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.207e-05/2.707, allocations: 3.188 kB / 1.134 GB, free: 31.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1268) (initialization): time 0.02791/2.735, allocations: 18.68 MB / 1.152 GB, free: 24.63 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.652e-05/2.735, allocations: 11.81 kB / 1.152 GB, free: 24.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.656e-05/2.735, allocations: 10.75 kB / 1.152 GB, free: 24.63 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005059/2.74, allocations: 3.75 MB / 1.156 GB, free: 23.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008064/2.748, allocations: 1.91 MB / 1.157 GB, free: 23.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01694/2.765, allocations: 21.52 MB / 1.178 GB, free: 22.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007415/2.772, allocations: 1.127 MB / 1.18 GB, free: 22.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001361/2.774, allocations: 337.4 kB / 1.18 GB, free: 22.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (933): * Single equations (assignments): 818 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 99 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 16 * 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: 10 {6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.001622/2.775, allocations: 0.5334 MB / 1.18 GB, free: 21.93 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0013/2.777, allocations: 0.5527 MB / 1.181 GB, free: 21.63 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02998/2.807, allocations: 20.23 MB / 1.201 GB, free: 8.543 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000338/2.807, allocations: 297.5 kB / 1.201 GB, free: 8.293 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.44e-05/2.807, allocations: 4 kB / 1.201 GB, free: 8.289 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001353/2.807, allocations: 50.25 kB / 1.201 GB, free: 8.289 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4681/3.275, allocations: 40.52 MB / 1.241 GB, free: 94.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.614e-05/3.276, allocations: 0 / 1.241 GB, free: 94.65 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008099/3.284, allocations: 1.771 MB / 1.242 GB, free: 94.65 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005812/3.29, allocations: 3.712 MB / 1.246 GB, free: 94.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002253/3.292, allocations: 250.5 kB / 1.246 GB, free: 94.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0164/3.308, allocations: 21.41 MB / 1.267 GB, free: 81.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/3.308, allocations: 0 / 1.267 GB, free: 81.86 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05269/3.361, allocations: 30.13 MB / 1.297 GB, free: 81.16 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001841/3.363, allocations: 0.8476 MB / 1.297 GB, free: 80.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002989/3.366, allocations: 168.4 kB / 1.297 GB, free: 80.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005893/3.372, allocations: 0.5935 MB / 1.298 GB, free: 80.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002811/3.375, allocations: 0.8399 MB / 1.299 GB, free: 80.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001491/3.376, allocations: 322.3 kB / 1.299 GB, free: 80.79 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002816/3.379, allocations: 2.039 MB / 1.301 GB, free: 80.63 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.51e-07/3.379, allocations: 0 / 1.301 GB, free: 80.63 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01146/3.39, allocations: 3.077 MB / 1.304 GB, free: 80.33 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (921): * Single equations (assignments): 806 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 99 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 16 * 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: 10 {6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.002458/3.393, allocations: 413.2 kB / 1.305 GB, free: 80.24 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02969/3.423, allocations: 17.6 MB / 1.322 GB, free: 77.71 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/3.423, allocations: 3.812 kB / 1.322 GB, free: 77.71 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01831/3.441, allocations: 9.72 MB / 1.331 GB, free: 73.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009033/3.45, allocations: 0.9825 MB / 1.332 GB, free: 73.51 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06012/3.51, allocations: 24.42 MB / 1.356 GB, free: 64.47 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01309/3.523, allocations: 8.208 MB / 1.364 GB, free: 59.15 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01043/3.534, allocations: 2.586 MB / 1.367 GB, free: 57.33 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003232/3.537, allocations: 0.4992 MB / 1.367 GB, free: 56.86 MB / 0.5261 GB Notification: Performance of SimCode: time 1.283e-06/3.537, allocations: 0 / 1.367 GB, free: 56.86 MB / 0.5261 GB Notification: Performance of Templates: time 0.5548/4.092, allocations: 141 MB / 1.505 GB, free: 88.79 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.sim & ./ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe 2>&1)