Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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.001366/0.001366, 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.002305/0.002305, allocations: 166 kB / 23.94 MB, free: 0.6172 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 1.174/1.174, 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 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.2672/0.2672, allocations: 29.43 MB / 290.1 MB, free: 2.418 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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_matrixTrDat2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 431.8 MB, free: 12 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.779e-05, allocations: 12.19 kB / 431.8 MB, free: 11.98 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.002671/0.002699, allocations: 2.176 MB / 434 MB, free: 9.785 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002376/0.005076, allocations: 1.906 MB / 435.9 MB, free: 7.867 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.057e-05/0.005146, allocations: 7.938 kB / 435.9 MB, free: 7.859 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001599/0.005306, allocations: 7.922 kB / 435.9 MB, free: 7.852 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.706e-05/0.005403, allocations: 39.77 kB / 436 MB, free: 7.812 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001953/0.007356, allocations: 0.9733 MB / 436.9 MB, free: 6.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000126/0.007482, allocations: 75.69 kB / 437 MB, free: 6.766 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.655e-05/0.007529, allocations: 4.188 kB / 437 MB, free: 6.762 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.007672, allocations: 51.81 kB / 437.1 MB, free: 6.711 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.72e-05/0.00775, allocations: 39.83 kB / 437.1 MB, free: 6.672 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.007763, allocations: 8 kB / 437.1 MB, free: 6.664 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002418/0.01018, allocations: 1.906 MB / 439 MB, free: 4.754 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.791e-05/0.01025, allocations: 27.92 kB / 439.1 MB, free: 4.727 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.814e-05/0.0103, allocations: 23.88 kB / 439.1 MB, free: 4.703 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001593/0.01189, allocations: 1.496 MB / 440.6 MB, free: 3.203 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.01189, allocations: 3.938 kB / 440.6 MB, free: 3.199 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.01189, allocations: 0 / 440.6 MB, free: 3.199 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.0119, allocations: 4 kB / 440.6 MB, free: 3.195 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006434/0.01254, allocations: 0.4942 MB / 441.1 MB, free: 2.664 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.01259, allocations: 15.98 kB / 441.1 MB, free: 2.648 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.3e-05/0.01262, allocations: 42.73 kB / 441.1 MB, free: 2.598 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.01265, allocations: 12.84 kB / 441.1 MB, free: 2.586 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.0128, allocations: 141.4 kB / 441.3 MB, free: 2.422 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.01282, allocations: 4.125 kB / 441.3 MB, free: 2.418 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.01283, allocations: 0 / 441.3 MB, free: 2.418 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.01302, allocations: 174.3 kB / 441.5 MB, free: 2.238 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.01303, allocations: 3.938 kB / 441.5 MB, free: 2.234 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.649e-06/0.01304, allocations: 4 kB / 441.5 MB, free: 2.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.01304, allocations: 0 / 441.5 MB, free: 2.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.299e-05/0.01313, allocations: 125.7 kB / 441.6 MB, free: 2.102 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001348/0.01327, allocations: 156.6 kB / 441.7 MB, free: 1.906 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.01339, allocations: 144.2 kB / 441.9 MB, free: 1.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.878e-05/0.01348, allocations: 134.5 kB / 442 MB, free: 1.609 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.571e-06/0.01348, allocations: 0 / 442 MB, free: 1.609 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.0135, allocations: 34.56 kB / 442 MB, free: 1.566 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 5.92e-07/0.0135, allocations: 0 / 442 MB, free: 1.566 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004035/0.01391, allocations: 474.7 kB / 442.5 MB, free: 1.078 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.01395, allocations: 97.14 kB / 442.6 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.626e-05/0.01404, allocations: 156.3 kB / 442.8 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.01406, allocations: 29.69 kB / 442.8 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.934e-05/0.0141, allocations: 96.64 kB / 442.9 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.894e-05/0.01415, allocations: 87.2 kB / 443 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.01419, allocations: 25.72 kB / 443 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.152e-05/0.01428, allocations: 330.8 kB / 443.3 MB, free: 228 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.771e-05/0.01437, allocations: 125.7 kB / 443.4 MB, free: 96 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.203/0.2174, allocations: 127.5 kB / 443.6 MB, free: 54.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000263/0.2176, allocations: 288.8 kB / 443.8 MB, free: 54.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.2176, allocations: 3.375 kB / 443.8 MB, free: 54.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002772/0.2179, allocations: 326.6 kB / 444.2 MB, free: 54.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.633e-05/0.218, allocations: 64.62 kB / 444.2 MB, free: 54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.218, allocations: 0 / 444.2 MB, free: 54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.218, allocations: 0 / 444.2 MB, free: 54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.252e-06/0.218, allocations: 0.5 kB / 444.2 MB, free: 54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.218, allocations: 1.688 kB / 444.2 MB, free: 54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.875e-05/0.218, allocations: 13.59 kB / 444.2 MB, free: 54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.2181, allocations: 6.375 kB / 444.3 MB, free: 54 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.0001096/0.2182, allocations: 201.5 kB / 444.4 MB, free: 53.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.841e-05/0.2182, allocations: 20.48 kB / 444.5 MB, free: 53.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.718e-05/0.2182, allocations: 9.969 kB / 444.5 MB, free: 53.85 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.2182, allocations: 0 / 444.5 MB, free: 53.85 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2182, allocations: 0.625 kB / 444.5 MB, free: 53.85 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2182, allocations: 0.9844 kB / 444.5 MB, free: 53.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.786e-05/0.2183, allocations: 174.5 kB / 444.6 MB, free: 53.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2183, allocations: 0 / 444.6 MB, free: 53.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.92e-07/0.2183, allocations: 0 / 444.6 MB, free: 53.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.2183, allocations: 3.281 kB / 444.7 MB, free: 53.69 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.2183, allocations: 3.312 kB / 444.7 MB, free: 53.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2183, allocations: 0 / 444.7 MB, free: 53.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2183, allocations: 0 / 444.7 MB, free: 53.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003465/0.2187, allocations: 0.525 MB / 445.2 MB, free: 53.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.303e-05/0.2187, allocations: 20.05 kB / 445.2 MB, free: 53.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.2187, allocations: 5.969 kB / 445.2 MB, free: 53.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.598e-05/0.2187, allocations: 3.312 kB / 445.2 MB, free: 53.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.286e-05/0.2188, allocations: 9.062 kB / 445.2 MB, free: 53.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.2188, allocations: 8.281 kB / 445.2 MB, free: 53.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.5e-05/0.2188, allocations: 115.2 kB / 445.3 MB, free: 53.47 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2188, allocations: 0 / 445.3 MB, free: 53.47 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009369/0.2197, allocations: 338.7 kB / 445.7 MB, free: 53.47 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.001083/0.2208, allocations: 1.355 MB / 447 MB, free: 52.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003923/0.2212, allocations: 0.4967 MB / 447.5 MB, free: 52.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2212, allocations: 0 / 447.5 MB, free: 52.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.2214, allocations: 302.9 kB / 447.8 MB, free: 52.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/0.2216, allocations: 11.94 kB / 447.8 MB, free: 52.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.2234, allocations: 2.959 MB / 450.8 MB, free: 50.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.391e-05/0.2235, allocations: 114.1 kB / 450.9 MB, free: 50.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.95e-05/0.2235, allocations: 3.062 kB / 450.9 MB, free: 50.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.855e-05/0.2236, allocations: 36.02 kB / 450.9 MB, free: 50.68 MB / 410.7 MB Notification: Performance of SimCode: time 4.41e-07/0.2236, allocations: 1.281 kB / 450.9 MB, free: 50.68 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.6318877208977938]