Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/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="mat",numberOfIntervals=5000,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003177/0.003183, allocations: 362 kB / 15.95 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.225/4.225, allocations: 388.9 MB / 405.6 MB, free: 9.668 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003559/0.003559, allocations: 227 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5066/0.5066, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006726/0.0006728, allocations: 16 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1296, allocations: 54.86 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5202/0.6498, allocations: 100.6 MB / 0.7783 GB, free: 0.8594 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003276/0.6502, allocations: 86.58 kB / 0.7784 GB, free: 0.8125 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014/2.664, allocations: 387.5 MB / 1.157 GB, free: 46.21 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.409e-06/2.664, allocations: 0 / 1.157 GB, free: 46.21 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001268/2.666, allocations: 250.1 kB / 1.157 GB, free: 46.2 MB / 474.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.05626/2.722, allocations: 10.88 MB / 1.168 GB, free: 42.78 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/2.722, allocations: 16.78 kB / 1.168 GB, free: 42.77 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08643/2.808, allocations: 8.418 MB / 1.176 GB, free: 42.12 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03294/2.841, allocations: 7.265 MB / 1.183 GB, free: 39.67 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00216/2.844, allocations: 0.8614 MB / 1.184 GB, free: 39.29 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008002/2.852, allocations: 1.116 MB / 1.185 GB, free: 38.93 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08987/2.942, allocations: 21.2 MB / 1.206 GB, free: 25.1 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007788/2.942, allocations: 23.52 kB / 1.206 GB, free: 25.08 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006036/2.949, allocations: 489.1 kB / 1.206 GB, free: 24.61 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001408/2.95, allocations: 0.8459 MB / 1.207 GB, free: 23.86 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06129/3.011, allocations: 19.85 MB / 1.226 GB, free: 5.66 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6772/3.689, allocations: 59.87 MB / 1.285 GB, free: 52.98 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04624/3.735, allocations: 24.03 MB / 1.308 GB, free: 43.1 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0277/3.763, allocations: 10.23 MB / 1.318 GB, free: 42.98 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001725/3.764, allocations: 366.3 kB / 1.319 GB, free: 42.85 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000192/3.765, allocations: 147.2 kB / 1.319 GB, free: 42.8 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=1196): time 1.861e-05/3.765, allocations: 0 / 1.319 GB, free: 42.8 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1196): time 0.09001/3.855, allocations: 28.18 MB / 1.346 GB, free: 40.19 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/3.855, allocations: 153.8 kB / 1.346 GB, free: 40.12 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00737/3.862, allocations: 2.96 MB / 1.349 GB, free: 39.12 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.003087/3.865, allocations: 187.3 kB / 1.349 GB, free: 38.97 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.003765/3.869, allocations: 3.413 MB / 1.353 GB, free: 37.02 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.007907/3.877, allocations: 3.896 MB / 1.357 GB, free: 34.03 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003167/3.88, allocations: 166.8 kB / 1.357 GB, free: 33.9 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.001511/3.882, allocations: 0.7209 MB / 1.357 GB, free: 33.41 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02088/3.903, allocations: 7.096 MB / 1.364 GB, free: 30.72 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02235/3.925, allocations: 8.052 MB / 1.372 GB, free: 27.35 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0241/3.949, allocations: 8.358 MB / 1.38 GB, free: 23.85 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.443e-05/3.95, allocations: 0 / 1.38 GB, free: 23.85 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1268) (initialization): time 0.05918/4.009, allocations: 18.87 MB / 1.399 GB, free: 16.28 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 4.892e-05/4.009, allocations: 7.875 kB / 1.399 GB, free: 16.28 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.091e-05/4.009, allocations: 11.84 kB / 1.399 GB, free: 16.28 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01093/4.02, allocations: 3.777 MB / 1.403 GB, free: 15.02 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01677/4.037, allocations: 1.911 MB / 1.404 GB, free: 14.96 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03114/4.068, allocations: 21.56 MB / 1.425 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01071/4.079, allocations: 1.121 MB / 1.427 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003573/4.082, allocations: 335.8 kB / 1.427 GB, free: 11.34 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.01605/4.098, allocations: 4.514 MB / 1.431 GB, free: 7.711 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004072/4.103, allocations: 0.5516 MB / 1.432 GB, free: 7.152 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07693/4.18, allocations: 20.68 MB / 1.452 GB, free: 6.492 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006182/4.18, allocations: 287.3 kB / 1.452 GB, free: 6.246 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.4e-05/4.18, allocations: 4 kB / 1.452 GB, free: 6.242 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002508/4.181, allocations: 55.38 kB / 1.452 GB, free: 6.238 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5658/4.746, allocations: 39.17 MB / 1.491 GB, free: 97.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001751/4.747, allocations: 2.766 kB / 1.491 GB, free: 97.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01591/4.762, allocations: 1.771 MB / 1.492 GB, free: 97.47 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01788/4.78, allocations: 3.75 MB / 1.496 GB, free: 97.32 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004729/4.785, allocations: 245.9 kB / 1.496 GB, free: 97.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03326/4.819, allocations: 21.44 MB / 1.517 GB, free: 84.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/4.819, allocations: 0 / 1.517 GB, free: 84.68 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08439/4.903, allocations: 30.43 MB / 1.547 GB, free: 79.28 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002448/4.906, allocations: 0.8475 MB / 1.548 GB, free: 78.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004037/4.91, allocations: 168.2 kB / 1.548 GB, free: 78.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0103/4.92, allocations: 0.59 MB / 1.548 GB, free: 78.58 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004483/4.925, allocations: 0.8448 MB / 1.549 GB, free: 78.42 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00322/4.928, allocations: 322.4 kB / 1.55 GB, free: 78.34 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004965/4.933, allocations: 2.06 MB / 1.552 GB, free: 77.61 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.71e-07/4.933, allocations: 0 / 1.552 GB, free: 77.61 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01569/4.949, allocations: 3.084 MB / 1.555 GB, free: 77.03 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.003603/4.952, allocations: 400.7 kB / 1.555 GB, free: 76.81 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.05007/5.002, allocations: 17.81 MB / 1.572 GB, free: 70.04 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.434e-05/5.002, allocations: 0 / 1.572 GB, free: 70.04 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.02804/5.03, allocations: 9.823 MB / 1.582 GB, free: 66.13 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01519/5.046, allocations: 1.153 MB / 1.583 GB, free: 65.71 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1078/5.154, allocations: 31.42 MB / 1.614 GB, free: 38.09 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04117/5.195, allocations: 8.214 MB / 1.622 GB, free: 31.84 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01731/5.212, allocations: 2.587 MB / 1.624 GB, free: 30.02 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006642/5.219, allocations: 0.4953 MB / 1.625 GB, free: 29.55 MB / 0.5261 GB Notification: Performance of SimCode: time 1.854e-06/5.219, allocations: 4 kB / 1.625 GB, free: 29.54 MB / 0.5261 GB Notification: Performance of Templates: time 0.8101/6.029, allocations: 151.7 MB / 1.773 GB, free: 65.17 MB / 0.5261 GB