Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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.0009507/0.0009507, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.000949/0.000949, allocations: 173.9 kB / 23.95 MB, free: 0.6133 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.9903/0.9903, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2131/0.2131, allocations: 29.4 MB / 290.1 MB, free: 2.426 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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.Z_matrixTrDat3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 431 MB, free: 12.79 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.215e-05/1.339e-05, allocations: 4.672 kB / 431 MB, free: 12.79 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.00212/0.002133, allocations: 2.18 MB / 433.2 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002184/0.004317, allocations: 1.903 MB / 435.1 MB, free: 8.672 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.7e-05/0.004364, allocations: 7.938 kB / 435.1 MB, free: 8.664 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001158/0.004479, allocations: 19.84 kB / 435.1 MB, free: 8.645 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.045e-05/0.00455, allocations: 27.84 kB / 435.2 MB, free: 8.617 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.005984, allocations: 0.9731 MB / 436.1 MB, free: 7.645 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.89e-05/0.006083, allocations: 71.7 kB / 436.2 MB, free: 7.574 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.929e-05/0.006122, allocations: 4.188 kB / 436.2 MB, free: 7.57 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.006242, allocations: 55.81 kB / 436.3 MB, free: 7.516 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.396e-05/0.006306, allocations: 39.88 kB / 436.3 MB, free: 7.477 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.006316, allocations: 4 kB / 436.3 MB, free: 7.473 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001729/0.008045, allocations: 1.905 MB / 438.2 MB, free: 5.562 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.205e-05/0.008097, allocations: 51.78 kB / 438.3 MB, free: 5.512 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.519e-05/0.008132, allocations: 23.86 kB / 438.3 MB, free: 5.488 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.009274, allocations: 1.527 MB / 439.8 MB, free: 3.957 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.009276, allocations: 4 kB / 439.8 MB, free: 3.953 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.009278, allocations: 4 kB / 439.8 MB, free: 3.949 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.009282, allocations: 0 / 439.8 MB, free: 3.949 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0005121/0.009794, allocations: 0.5408 MB / 440.4 MB, free: 3.371 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.009831, allocations: 11.98 kB / 440.4 MB, free: 3.359 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.544e-05/0.009867, allocations: 46.73 kB / 440.4 MB, free: 3.305 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.501e-05/0.009902, allocations: 24.69 kB / 440.5 MB, free: 3.281 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.01004, allocations: 153.5 kB / 440.6 MB, free: 3.105 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.01005, allocations: 8.125 kB / 440.6 MB, free: 3.098 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/0.01005, allocations: 0 / 440.6 MB, free: 3.098 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.01025, allocations: 232.3 kB / 440.8 MB, free: 2.859 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.01026, allocations: 0 / 440.8 MB, free: 2.859 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.01027, allocations: 0 / 440.8 MB, free: 2.859 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.01027, allocations: 0 / 440.8 MB, free: 2.859 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.01039, allocations: 190 kB / 441 MB, free: 2.668 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001224/0.01052, allocations: 181.2 kB / 441.2 MB, free: 2.449 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.01067, allocations: 208.4 kB / 441.4 MB, free: 2.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.01079, allocations: 198.8 kB / 441.6 MB, free: 2.027 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.887e-06/0.01079, allocations: 0 / 441.6 MB, free: 2.027 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.554e-05/0.01081, allocations: 30.56 kB / 441.6 MB, free: 1.988 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 5.61e-07/0.01081, allocations: 0 / 441.6 MB, free: 1.988 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.0007405/0.01155, allocations: 0.7092 MB / 442.3 MB, free: 1.254 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.0116, allocations: 105.1 kB / 442.4 MB, free: 1.133 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.0117, allocations: 166.2 kB / 442.6 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.01172, allocations: 33.7 kB / 442.6 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.01176, allocations: 108.7 kB / 442.7 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.672e-05/0.01182, allocations: 130.8 kB / 442.9 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.01186, allocations: 33.7 kB / 442.9 MB, free: 0.6445 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.103e-05/0.01194, allocations: 338.8 kB / 443.2 MB, free: 312 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.01206, allocations: 185.6 kB / 443.4 MB, free: 120 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1466/0.1587, allocations: 188.7 kB / 443.6 MB, free: 54.06 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002775/0.159, allocations: 443.8 kB / 444 MB, free: 53.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.159, allocations: 3.375 kB / 444 MB, free: 53.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003004/0.1593, allocations: 468.5 kB / 444.5 MB, free: 53.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.077e-05/0.1593, allocations: 87.8 kB / 444.6 MB, free: 53.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1593, allocations: 0 / 444.6 MB, free: 53.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.1593, allocations: 0.7188 kB / 444.6 MB, free: 53.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.1593, allocations: 0 / 444.6 MB, free: 53.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.1593, allocations: 8.703 kB / 444.6 MB, free: 53.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.725e-05/0.1594, allocations: 21.62 kB / 444.6 MB, free: 53.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.446e-05/0.1594, allocations: 10.41 kB / 444.6 MB, free: 53.86 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.0001105/0.1595, allocations: 235.7 kB / 444.8 MB, free: 53.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.827e-05/0.1596, allocations: 31.22 kB / 444.9 MB, free: 53.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.48e-05/0.1596, allocations: 9.844 kB / 444.9 MB, free: 53.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1596, allocations: 0 / 444.9 MB, free: 53.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1596, allocations: 0.5 kB / 444.9 MB, free: 53.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1596, allocations: 1.281 kB / 444.9 MB, free: 53.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.203e-05/0.1597, allocations: 197.6 kB / 445.1 MB, free: 53.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1597, allocations: 5.797 kB / 445.1 MB, free: 53.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.91e-07/0.1597, allocations: 3.844 kB / 445.1 MB, free: 53.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-07/0.1597, allocations: 2.312 kB / 445.1 MB, free: 53.53 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.1597, allocations: 6.344 kB / 445.1 MB, free: 53.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1597, allocations: 6.469 kB / 445.1 MB, free: 53.53 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.1597, allocations: 0 / 445.1 MB, free: 53.53 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004618/0.1601, allocations: 0.7709 MB / 445.9 MB, free: 53.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.455e-05/0.1602, allocations: 23.03 kB / 445.9 MB, free: 53.37 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.1602, allocations: 13.39 kB / 445.9 MB, free: 53.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.809e-05/0.1602, allocations: 6.438 kB / 445.9 MB, free: 53.37 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.326e-05/0.1602, allocations: 6.781 kB / 445.9 MB, free: 53.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.1602, allocations: 7.422 kB / 445.9 MB, free: 53.37 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.595e-05/0.1603, allocations: 126.6 kB / 446.1 MB, free: 53.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1603, allocations: 0 / 446.1 MB, free: 53.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006967/0.161, allocations: 358.7 kB / 446.4 MB, free: 53.28 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.001166/0.1621, allocations: 1.626 MB / 448 MB, free: 52.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004584/0.1626, allocations: 0.7508 MB / 448.8 MB, free: 52.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1626, allocations: 0 / 448.8 MB, free: 52.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000223/0.1628, allocations: 438.3 kB / 449.2 MB, free: 52.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.163, allocations: 23.05 kB / 449.2 MB, free: 52.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00236/0.1654, allocations: 3.943 MB / 453.2 MB, free: 50.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.002e-05/0.1654, allocations: 142.7 kB / 453.3 MB, free: 50.06 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.322e-05/0.1654, allocations: 0 / 453.3 MB, free: 50.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.747e-05/0.1655, allocations: 51.39 kB / 453.4 MB, free: 50.02 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1655, allocations: 0.6562 kB / 453.4 MB, free: 50.02 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: 2.091933010146022]