Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009336/0.0009336, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009363/0.0009363, allocations: 174.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.942/0.942, allocations: 177.1 MB / 204.3 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2115/0.2115, allocations: 29.4 MB / 290.1 MB, free: 2.441 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_TransDatFromEqCirc",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_TransDatFromEqCirc",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 431 MB, free: 12.83 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001e-05/1.122e-05, allocations: 2.281 kB / 431 MB, free: 12.82 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.002033/0.002044, allocations: 2.238 MB / 433.2 MB, free: 10.56 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.003262, allocations: 1.036 MB / 434.3 MB, free: 9.527 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.196e-05/0.003324, allocations: 4 kB / 434.3 MB, free: 9.523 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00012/0.003444, allocations: 15.84 kB / 434.3 MB, free: 9.508 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.363e-05/0.003537, allocations: 47.73 kB / 434.3 MB, free: 9.461 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006854/0.004223, allocations: 342.8 kB / 434.7 MB, free: 9.125 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.004351, allocations: 119.5 kB / 434.8 MB, free: 9.008 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.674e-05/0.004387, allocations: 4 kB / 434.8 MB, free: 9.004 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.004518, allocations: 67.8 kB / 434.9 MB, free: 8.938 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.909e-05/0.004597, allocations: 71.77 kB / 434.9 MB, free: 8.867 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.004607, allocations: 0 / 434.9 MB, free: 8.867 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005476/0.005155, allocations: 0.565 MB / 435.5 MB, free: 8.301 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.926e-05/0.005234, allocations: 43.83 kB / 435.5 MB, free: 8.258 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.273e-05/0.005267, allocations: 19.94 kB / 435.6 MB, free: 8.238 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004657/0.005732, allocations: 0.5649 MB / 436.1 MB, free: 7.672 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.005734, allocations: 0 / 436.1 MB, free: 7.672 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.005735, allocations: 3.938 kB / 436.1 MB, free: 7.668 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.005738, allocations: 0 / 436.1 MB, free: 7.668 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003445/0.006083, allocations: 399.1 kB / 436.5 MB, free: 7.242 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.006115, allocations: 15.98 kB / 436.5 MB, free: 7.227 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.868e-05/0.006174, allocations: 58.59 kB / 436.6 MB, free: 7.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.374e-05/0.006208, allocations: 12.84 kB / 436.6 MB, free: 7.148 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.006334, allocations: 157.4 kB / 436.8 MB, free: 6.969 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.006343, allocations: 384 / 436.8 MB, free: 6.969 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.006354, allocations: 8.375 kB / 436.8 MB, free: 6.961 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.006546, allocations: 199.6 kB / 437 MB, free: 6.754 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.006554, allocations: 0 / 437 MB, free: 6.754 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.006563, allocations: 4 kB / 437 MB, free: 6.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.006568, allocations: 0 / 437 MB, free: 6.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.006672, allocations: 141.6 kB / 437.1 MB, free: 6.605 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002793/0.006951, allocations: 311.7 kB / 437.4 MB, free: 6.258 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.007054, allocations: 128.2 kB / 437.5 MB, free: 6.117 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.601e-05/0.00713, allocations: 118.5 kB / 437.6 MB, free: 5.992 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.778e-06/0.007134, allocations: 0 / 437.6 MB, free: 5.992 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.587e-05/0.007149, allocations: 34.56 kB / 437.7 MB, free: 5.949 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 6.61e-07/0.00715, allocations: 0 / 437.7 MB, free: 5.949 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004207/0.007571, allocations: 429.4 kB / 438.1 MB, free: 5.508 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.007618, allocations: 93.09 kB / 438.2 MB, free: 5.398 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.377e-05/0.007712, allocations: 133.8 kB / 438.3 MB, free: 5.258 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.007724, allocations: 29.73 kB / 438.3 MB, free: 5.223 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.303e-05/0.007767, allocations: 108.5 kB / 438.5 MB, free: 5.113 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.007802, allocations: 71.38 kB / 438.5 MB, free: 5.043 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.007842, allocations: 21.72 kB / 438.5 MB, free: 5.016 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.932e-05/0.007931, allocations: 322.8 kB / 438.9 MB, free: 4.691 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.425e-05/0.008015, allocations: 113.6 kB / 439 MB, free: 4.574 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.15e-05/0.008087, allocations: 113.6 kB / 439.1 MB, free: 4.457 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.008267, allocations: 251.2 kB / 439.3 MB, free: 4.199 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.008268, allocations: 0 / 439.3 MB, free: 4.199 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001999/0.008468, allocations: 288.8 kB / 439.6 MB, free: 3.898 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.107e-05/0.008519, allocations: 57.67 kB / 439.7 MB, free: 3.836 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.008525, allocations: 4.062 kB / 439.7 MB, free: 3.832 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.008543, allocations: 3.938 kB / 439.7 MB, free: 3.828 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.463e-06/0.008544, allocations: 0 / 439.7 MB, free: 3.828 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.008552, allocations: 0 / 439.7 MB, free: 3.828 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.994e-05/0.008602, allocations: 15.89 kB / 439.7 MB, free: 3.812 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.008625, allocations: 4 kB / 439.7 MB, free: 3.809 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001107/0.008735, allocations: 187.4 kB / 439.9 MB, free: 3.609 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.939e-05/0.008755, allocations: 15.91 kB / 439.9 MB, free: 3.594 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.489e-05/0.00877, allocations: 17.11 kB / 439.9 MB, free: 3.574 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.008772, allocations: 7.922 kB / 439.9 MB, free: 3.566 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.008776, allocations: 4 kB / 439.9 MB, free: 3.562 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.008778, allocations: 0 / 439.9 MB, free: 3.562 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.008901, allocations: 172.6 kB / 440.1 MB, free: 3.352 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.008903, allocations: 4 kB / 440.1 MB, free: 3.348 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.008903, allocations: 0 / 440.1 MB, free: 3.348 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.008904, allocations: 0 / 440.1 MB, free: 3.348 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.008914, allocations: 4 kB / 440.1 MB, free: 3.344 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.008916, allocations: 7.938 kB / 440.1 MB, free: 3.336 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.008917, allocations: 0 / 440.1 MB, free: 3.336 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003617/0.009278, allocations: 0.5064 MB / 440.6 MB, free: 2.801 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.02e-05/0.009288, allocations: 11.91 kB / 440.6 MB, free: 2.789 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.009301, allocations: 8.031 kB / 440.6 MB, free: 2.781 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.76e-05/0.009339, allocations: 11.88 kB / 440.6 MB, free: 2.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.848e-05/0.009357, allocations: 7.984 kB / 440.6 MB, free: 2.762 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.009364, allocations: 4 kB / 440.7 MB, free: 2.758 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.085e-05/0.009405, allocations: 106.4 kB / 440.8 MB, free: 2.656 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009405, allocations: 0 / 440.8 MB, free: 2.656 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003021/0.009707, allocations: 139.7 kB / 440.9 MB, free: 2.52 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008787/0.01059, allocations: 1.358 MB / 442.3 MB, free: 1.121 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003157/0.0109, allocations: 442.5 kB / 442.7 MB, free: 0.6641 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.0109, allocations: 0 / 442.7 MB, free: 0.6641 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.01106, allocations: 257 kB / 442.9 MB, free: 404 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/0.01126, allocations: 19.94 kB / 443 MB, free: 384 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1439/0.1552, allocations: 2.736 MB / 445.7 MB, free: 53.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.88e-05/0.1553, allocations: 123 kB / 445.8 MB, free: 53.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.181e-05/0.1553, allocations: 3.219 kB / 445.8 MB, free: 53.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.676e-05/0.1553, allocations: 36.38 kB / 445.8 MB, free: 53.13 MB / 410.7 MB Notification: Performance of SimCode: time 7.52e-07/0.1553, allocations: 0 / 445.8 MB, free: 53.13 MB / 410.7 MB [CodegenCFunctions.tpl:5727:13-5727:13:writable] Error: Template error: This should have been handled in indexed assign and should not have gotten here. eigenvalues[:,2]. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.9728367934003472]