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.009437/0.009437, allocations: 174.6 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.061/2.061, allocations: 194.5 MB / 210.3 MB, free: 7.621 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.001945/0.001946, allocations: 124.5 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2412/0.2412, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004746/0.0004746, allocations: 10.81 kB / 406.2 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1477, allocations: 54.87 MB / 461 MB, free: 3.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4813/0.629, allocations: 100.6 MB / 0.5484 GB, free: 21.81 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003906/0.6295, allocations: 86.12 kB / 0.5485 GB, free: 21.81 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.475/2.104, allocations: 388.7 MB / 0.9281 GB, free: 59.89 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.539e-06/2.104, allocations: 0 / 0.9281 GB, free: 59.89 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001141/2.105, allocations: 255.4 kB / 0.9283 GB, free: 59.87 MB / 0.4948 GB 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.05556/2.161, allocations: 10.88 MB / 0.939 GB, free: 56.57 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.867e-05/2.161, allocations: 14.91 kB / 0.939 GB, free: 56.56 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04831/2.209, allocations: 8.416 MB / 0.9472 GB, free: 55.91 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02947/2.239, allocations: 7.25 MB / 0.9543 GB, free: 55.01 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002361/2.241, allocations: 0.8615 MB / 0.9551 GB, free: 54.98 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008367/2.25, allocations: 1.118 MB / 0.9562 GB, free: 54.98 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07555/2.325, allocations: 21.12 MB / 0.9768 GB, free: 53.71 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001049/2.326, allocations: 11.66 kB / 0.9768 GB, free: 53.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007693/2.334, allocations: 498.4 kB / 0.9773 GB, free: 53.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001581/2.336, allocations: 0.8421 MB / 0.9781 GB, free: 53.68 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06239/2.398, allocations: 19.85 MB / 0.9975 GB, free: 53.56 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.179/2.577, allocations: 59.82 MB / 1.056 GB, free: 24.61 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03774/2.615, allocations: 24.03 MB / 1.079 GB, free: 1.891 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002056/2.617, allocations: 365.3 kB / 1.08 GB, free: 1.598 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003523/2.618, allocations: 141.7 kB / 1.08 GB, free: 1.453 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1196): time 6.183e-05/2.618, allocations: 4 kB / 1.08 GB, free: 1.449 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1196): time 0.5424/3.16, allocations: 39.17 MB / 1.118 GB, free: 67.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001775/3.16, allocations: 154.4 kB / 1.118 GB, free: 67.62 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006145/3.166, allocations: 2.668 MB / 1.121 GB, free: 67.43 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.003291/3.17, allocations: 183.9 kB / 1.121 GB, free: 67.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002479/3.172, allocations: 3.419 MB / 1.124 GB, free: 66.36 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.006848/3.179, allocations: 3.899 MB / 1.128 GB, free: 64.04 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001065/3.18, allocations: 169.1 kB / 1.128 GB, free: 64.04 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001035/3.181, allocations: 0.7151 MB / 1.129 GB, free: 63.71 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0123/3.194, allocations: 7.095 MB / 1.136 GB, free: 63.69 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01609/3.21, allocations: 8.022 MB / 1.144 GB, free: 63.16 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01827/3.228, allocations: 8.353 MB / 1.152 GB, free: 63.03 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-05/3.228, allocations: 5 kB / 1.152 GB, free: 63.03 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1268) (initialization): time 0.04994/3.278, allocations: 18.87 MB / 1.17 GB, free: 62.29 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.741e-05/3.278, allocations: 13.22 kB / 1.17 GB, free: 62.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001087/3.278, allocations: 15.08 kB / 1.17 GB, free: 62.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008802/3.287, allocations: 3.775 MB / 1.174 GB, free: 62.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009939/3.297, allocations: 1.907 MB / 1.176 GB, free: 62.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02092/3.318, allocations: 21.64 MB / 1.197 GB, free: 47.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01037/3.329, allocations: 1.121 MB / 1.198 GB, free: 46.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004528/3.333, allocations: 334.5 kB / 1.199 GB, free: 46.44 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 () * Number of clocked 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.02065/3.354, allocations: 4.514 MB / 1.203 GB, free: 44.51 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006196/3.36, allocations: 0.5506 MB / 1.203 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06663/3.427, allocations: 20.44 MB / 1.223 GB, free: 35.88 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006914/3.428, allocations: 291 kB / 1.224 GB, free: 35.74 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001409/3.428, allocations: 0 / 1.224 GB, free: 35.74 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00042/3.428, allocations: 54.72 kB / 1.224 GB, free: 35.74 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1126/3.541, allocations: 38.7 MB / 1.262 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002529/3.541, allocations: 4 kB / 1.262 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009765/3.551, allocations: 1.773 MB / 1.263 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007018/3.558, allocations: 3.744 MB / 1.267 GB, free: 9.684 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003712/3.562, allocations: 257.9 kB / 1.267 GB, free: 9.465 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02176/3.584, allocations: 21.56 MB / 1.288 GB, free: 4.672 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/3.584, allocations: 0 / 1.288 GB, free: 4.672 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5867/4.17, allocations: 31.12 MB / 1.319 GB, free: 83.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003375/4.174, allocations: 0.8482 MB / 1.319 GB, free: 83.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005346/4.179, allocations: 167.3 kB / 1.32 GB, free: 83.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009199/4.188, allocations: 0.5908 MB / 1.32 GB, free: 83.23 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005213/4.194, allocations: 0.8459 MB / 1.321 GB, free: 83.22 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004518/4.198, allocations: 323 kB / 1.321 GB, free: 83.22 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005679/4.204, allocations: 2.065 MB / 1.323 GB, free: 83.08 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.1e-07/4.204, allocations: 0 / 1.323 GB, free: 83.08 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.02017/4.224, allocations: 3.074 MB / 1.326 GB, free: 82.77 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 () * Number of clocked 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.004843/4.229, allocations: 402.1 kB / 1.327 GB, free: 82.68 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.04579/4.275, allocations: 17.81 MB / 1.344 GB, free: 81.73 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.816e-05/4.275, allocations: 3.906 kB / 1.344 GB, free: 81.73 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.02761/4.303, allocations: 9.82 MB / 1.354 GB, free: 80.95 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01164/4.314, allocations: 0.9831 MB / 1.355 GB, free: 80.93 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09938/4.414, allocations: 31.89 MB / 1.386 GB, free: 71.23 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0311/4.445, allocations: 8.208 MB / 1.394 GB, free: 68.48 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.02012/4.465, allocations: 2.59 MB / 1.396 GB, free: 68.26 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007271/4.472, allocations: 0.5013 MB / 1.397 GB, free: 68.21 MB / 0.5261 GB Notification: Performance of SimCode: time 2.435e-06/4.472, allocations: 0 / 1.397 GB, free: 68.21 MB / 0.5261 GB Notification: Performance of Templates: time 0.7402/5.213, allocations: 151.6 MB / 1.545 GB, free: 77.7 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)