Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/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(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001315/0.001319, allocations: 184.8 kB / 16.38 MB, free: 5.621 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 1.679/1.679, allocations: 194.5 MB / 211.6 MB, free: 7.602 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001784/0.001784, allocations: 120.6 kB / 256.9 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.2329/0.2329, allocations: 38.01 MB / 340.1 MB, free: 13.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004342/0.0004344, allocations: 12.47 kB / 403.8 MB, free: 55.15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0691/0.06955, allocations: 53.22 MB / 457 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.004568/0.07416, allocations: 4.554 MB / 461.6 MB, free: 5.785 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002041/0.07622, allocations: 1.474 MB / 463 MB, free: 4.305 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002418/0.07648, allocations: 27.81 kB / 463.1 MB, free: 4.277 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002913/0.07679, allocations: 107.4 kB / 463.2 MB, free: 4.172 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004625/0.07727, allocations: 211.4 kB / 463.4 MB, free: 3.965 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004532/0.07774, allocations: 171.6 kB / 463.6 MB, free: 3.797 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003192/0.07808, allocations: 299.4 kB / 463.8 MB, free: 3.504 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008621/0.07895, allocations: 0.5495 MB / 464.4 MB, free: 2.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002386/0.07921, allocations: 179.3 kB / 464.6 MB, free: 2.754 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002643/0.07949, allocations: 179.4 kB / 464.7 MB, free: 2.578 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.233e-05/0.07955, allocations: 16 kB / 464.8 MB, free: 2.562 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001997/0.07976, allocations: 79.81 kB / 464.8 MB, free: 2.484 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.07991, allocations: 155.6 kB / 465 MB, free: 2.332 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.527e-05/0.08001, allocations: 105.5 kB / 465.1 MB, free: 2.223 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003675/0.08038, allocations: 398.9 kB / 465.5 MB, free: 1.832 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.437e-06/0.0804, allocations: 4 kB / 465.5 MB, free: 1.828 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.645e-06/0.08041, allocations: 0 / 465.5 MB, free: 1.828 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.08043, allocations: 0 / 465.5 MB, free: 1.828 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0009116/0.08135, allocations: 0.6366 MB / 466.1 MB, free: 1.137 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.08139, allocations: 16.03 kB / 466.1 MB, free: 1.121 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007063/0.08211, allocations: 95.36 kB / 466.2 MB, free: 1.027 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006049/0.08273, allocations: 386.9 kB / 466.6 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/0.08278, allocations: 32.98 kB / 466.6 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.08294, allocations: 43.98 kB / 466.7 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007055/0.08366, allocations: 472.7 kB / 467.1 MB, free: 44 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.0837, allocations: 4 kB / 467.2 MB, free: 40 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.985e-05/0.08375, allocations: 11.98 kB / 467.2 MB, free: 28 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001046/0.08386, allocations: 28.98 kB / 467.2 MB, free: 0 / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007973/0.08467, allocations: 335.7 kB / 467.5 MB, free: 15.67 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002874/0.08756, allocations: 1.633 MB / 469.2 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004449/0.08803, allocations: 181 kB / 469.3 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.08807, allocations: 4.062 kB / 469.3 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.08812, allocations: 34.56 kB / 469.4 MB, free: 13.7 MB / 314.7 MB Notification: Performance of pre-optimization done (n=19): time 2.447e-06/0.08813, allocations: 0 / 469.4 MB, free: 13.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.001689/0.08983, allocations: 0.7851 MB / 470.2 MB, free: 12.86 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.837e-05/0.08992, allocations: 85.23 kB / 470.2 MB, free: 12.76 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004279/0.09036, allocations: 292.6 kB / 470.5 MB, free: 12.47 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.241e-05/0.0904, allocations: 29.7 kB / 470.5 MB, free: 12.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/0.09066, allocations: 263.4 kB / 470.8 MB, free: 12.17 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.334e-05/0.09075, allocations: 67.02 kB / 470.9 MB, free: 12.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.085e-05/0.09079, allocations: 8 kB / 470.9 MB, free: 12.1 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.09099, allocations: 342.8 kB / 471.2 MB, free: 11.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.09123, allocations: 91.94 kB / 471.3 MB, free: 11.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00033/0.09157, allocations: 196.8 kB / 471.5 MB, free: 11.43 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003009/0.09189, allocations: 134.3 kB / 471.6 MB, free: 11.3 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.884e-06/0.0919, allocations: 0 / 471.6 MB, free: 11.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001057/0.09297, allocations: 422.5 kB / 472 MB, free: 10.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.09301, allocations: 8 kB / 472 MB, free: 10.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006697/0.09369, allocations: 268.8 kB / 472.3 MB, free: 10.6 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00042/0.09413, allocations: 76.78 kB / 472.4 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003146/0.09446, allocations: 63.91 kB / 472.4 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002162/0.09664, allocations: 1.616 MB / 474.1 MB, free: 8.707 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.09689, allocations: 8 kB / 474.1 MB, free: 8.699 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.726e-05/0.09695, allocations: 19.94 kB / 474.1 MB, free: 8.68 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002691/0.09723, allocations: 201.5 kB / 474.3 MB, free: 8.473 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.275e-05/0.09732, allocations: 31.62 kB / 474.3 MB, free: 8.441 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000568/0.0979, allocations: 269.5 kB / 474.6 MB, free: 8.172 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.279e-06/0.09793, allocations: 4 kB / 474.6 MB, free: 8.168 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.332e-06/0.09794, allocations: 3.938 kB / 474.6 MB, free: 8.164 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.206e-06/0.09795, allocations: 288 / 474.6 MB, free: 8.164 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/0.0995, allocations: 0.7575 MB / 475.3 MB, free: 7.344 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.455e-06/0.09953, allocations: 4 kB / 475.4 MB, free: 7.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003424/0.09988, allocations: 43.98 kB / 475.4 MB, free: 7.297 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.679e-06/0.0999, allocations: 7.969 kB / 475.4 MB, free: 7.289 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.891e-05/0.09994, allocations: 8 kB / 475.4 MB, free: 7.281 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.767e-06/0.09996, allocations: 7.922 kB / 475.4 MB, free: 7.273 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.875e-06/0.09997, allocations: 4 kB / 475.4 MB, free: 7.27 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007799/0.1008, allocations: 478.7 kB / 475.9 MB, free: 6.758 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.1009, allocations: 108.7 kB / 476 MB, free: 6.633 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.654e-05/0.101, allocations: 11.95 kB / 476 MB, free: 6.621 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.1012, allocations: 12.03 kB / 476 MB, free: 6.609 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/0.1012, allocations: 19.92 kB / 476 MB, free: 6.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.1013, allocations: 4 kB / 476 MB, free: 6.586 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003075/0.1016, allocations: 215 kB / 476.3 MB, free: 6.375 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.96e-07/0.1016, allocations: 0 / 476.3 MB, free: 6.375 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005183/0.1021, allocations: 88 kB / 476.3 MB, free: 6.289 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001336/0.1023, allocations: 99.25 kB / 476.4 MB, free: 6.184 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008287/0.1031, allocations: 362.4 kB / 476.8 MB, free: 5.816 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1031, allocations: 0 / 476.8 MB, free: 5.816 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002222/0.1034, allocations: 111.8 kB / 476.9 MB, free: 5.707 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.1038, allocations: 54.47 kB / 477 MB, free: 5.656 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.1058, allocations: 1.127 MB / 478.1 MB, free: 4.496 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006012/0.1064, allocations: 0.858 MB / 478.9 MB, free: 3.609 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003199/0.1067, allocations: 74.89 kB / 479 MB, free: 3.535 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.1068, allocations: 27.44 kB / 479 MB, free: 3.508 MB / 314.7 MB Notification: Performance of SimCode: time 1.299e-06/0.1068, allocations: 3.938 kB / 479 MB, free: 3.504 MB / 314.7 MB Notification: Performance of Templates: time 0.009516/0.1164, allocations: 3.208 MB / 482.2 MB, free: 316 kB / 314.7 MB