Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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.001514/0.001514, 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.001519/0.001519, allocations: 166.3 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.93/0.93, allocations: 177.1 MB / 204.3 MB, free: 5.746 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.2722/0.2722, allocations: 29.44 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_matrixTrDat1,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 431.8 MB, free: 12.02 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/2.028e-05, allocations: 2.281 kB / 431.8 MB, free: 12.01 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.002794/0.002814, allocations: 2.184 MB / 434 MB, free: 9.809 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002613/0.005427, allocations: 1.903 MB / 435.9 MB, free: 7.895 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.213e-05/0.005489, allocations: 0 / 435.9 MB, free: 7.895 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001638/0.005653, allocations: 19.86 kB / 435.9 MB, free: 7.875 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.301e-05/0.005746, allocations: 31.77 kB / 436 MB, free: 7.844 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001556/0.007302, allocations: 0.9806 MB / 436.9 MB, free: 6.863 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.007414, allocations: 71.69 kB / 437 MB, free: 6.793 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.109e-05/0.007465, allocations: 12.17 kB / 437 MB, free: 6.781 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.007605, allocations: 35.91 kB / 437.1 MB, free: 6.746 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.97e-05/0.007685, allocations: 43.88 kB / 437.1 MB, free: 6.703 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.007697, allocations: 0 / 437.1 MB, free: 6.703 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001824/0.009521, allocations: 1.898 MB / 439 MB, free: 4.801 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.864e-05/0.00957, allocations: 19.92 kB / 439 MB, free: 4.781 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.555e-05/0.009606, allocations: 19.92 kB / 439 MB, free: 4.762 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001262/0.01087, allocations: 1.485 MB / 440.5 MB, free: 3.273 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.01087, allocations: 11.88 kB / 440.5 MB, free: 3.262 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01087, allocations: 4 kB / 440.5 MB, free: 3.258 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.01088, allocations: 0 / 440.5 MB, free: 3.258 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004735/0.01135, allocations: 450.4 kB / 441 MB, free: 2.781 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.0114, allocations: 19.97 kB / 441 MB, free: 2.762 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.459e-05/0.01143, allocations: 30.75 kB / 441 MB, free: 2.723 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.628e-05/0.01146, allocations: 8.891 kB / 441 MB, free: 2.715 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.0116, allocations: 142.1 kB / 441.2 MB, free: 2.551 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.01161, allocations: 0 / 441.2 MB, free: 2.551 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.01162, allocations: 0 / 441.2 MB, free: 2.551 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.01179, allocations: 119.3 kB / 441.3 MB, free: 2.422 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.0118, allocations: 0 / 441.3 MB, free: 2.422 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.01181, allocations: 4 kB / 441.3 MB, free: 2.418 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.01181, allocations: 0 / 441.3 MB, free: 2.418 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.061e-05/0.01187, allocations: 77.67 kB / 441.4 MB, free: 2.336 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001128/0.01198, allocations: 144.7 kB / 441.5 MB, free: 2.152 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.326e-05/0.01208, allocations: 96.28 kB / 441.6 MB, free: 2.043 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.808e-05/0.01213, allocations: 78.53 kB / 441.7 MB, free: 1.957 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.05e-06/0.01214, allocations: 4 kB / 441.7 MB, free: 1.953 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.01216, allocations: 34.5 kB / 441.7 MB, free: 1.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 6.21e-07/0.01216, allocations: 0 / 441.7 MB, free: 1.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.000473/0.01263, allocations: 298.8 kB / 442 MB, free: 1.594 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.01268, allocations: 97.14 kB / 442.1 MB, free: 1.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.66e-05/0.01277, allocations: 128.8 kB / 442.2 MB, free: 1.348 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.01278, allocations: 25.7 kB / 442.3 MB, free: 1.316 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.234e-05/0.01282, allocations: 96.12 kB / 442.3 MB, free: 1.219 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.699e-05/0.01286, allocations: 31.7 kB / 442.4 MB, free: 1.188 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.01289, allocations: 25.7 kB / 442.4 MB, free: 1.156 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.828e-05/0.01297, allocations: 326.8 kB / 442.7 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.614e-05/0.01303, allocations: 77.67 kB / 442.8 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.559e-05/0.01309, allocations: 85.61 kB / 442.9 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.01321, allocations: 180.6 kB / 443.1 MB, free: 476 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.01322, allocations: 4 kB / 443.1 MB, free: 472 kB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001441/0.01336, allocations: 217 kB / 443.3 MB, free: 236 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.948e-05/0.0134, allocations: 45.67 kB / 443.3 MB, free: 184 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.01341, allocations: 7.938 kB / 443.3 MB, free: 176 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.01342, allocations: 0 / 443.3 MB, free: 176 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.01342, allocations: 0 / 443.3 MB, free: 176 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.858e-06/0.01342, allocations: 0 / 443.3 MB, free: 176 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.818e-05/0.01345, allocations: 7.938 kB / 443.3 MB, free: 168 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.01347, allocations: 4 kB / 443.3 MB, free: 164 kB / 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.2363/0.2498, allocations: 167.1 kB / 443.5 MB, free: 54.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.912e-05/0.2498, allocations: 11.73 kB / 443.5 MB, free: 54.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.928e-05/0.2499, allocations: 13.91 kB / 443.5 MB, free: 54.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.2499, allocations: 0 / 443.5 MB, free: 54.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.2499, allocations: 1.406 kB / 443.5 MB, free: 54.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.2499, allocations: 0 / 443.5 MB, free: 54.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.25, allocations: 147.1 kB / 443.7 MB, free: 54.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.25, allocations: 0 / 443.7 MB, free: 54.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.585e-06/0.25, allocations: 3.156 kB / 443.7 MB, free: 54.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.25, allocations: 3.328 kB / 443.7 MB, free: 54.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.25, allocations: 3.25 kB / 443.7 MB, free: 54.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.25, allocations: 0.5938 kB / 443.7 MB, free: 54.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.25, allocations: 1.625 kB / 443.7 MB, free: 54.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003168/0.2503, allocations: 323.2 kB / 444 MB, free: 54.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.696e-05/0.2503, allocations: 15.72 kB / 444 MB, free: 54.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.2504, allocations: 3.188 kB / 444 MB, free: 54.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.526e-05/0.2504, allocations: 4.172 kB / 444 MB, free: 54.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.181e-05/0.2504, allocations: 12.56 kB / 444 MB, free: 54.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.2504, allocations: 5.906 kB / 444 MB, free: 54.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.024e-05/0.2505, allocations: 99.12 kB / 444.1 MB, free: 53.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2505, allocations: 0 / 444.1 MB, free: 53.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004166/0.2546, allocations: 327.4 kB / 444.5 MB, free: 53.96 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.001279/0.2559, allocations: 1.16 MB / 445.6 MB, free: 53.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000311/0.2562, allocations: 310.8 kB / 445.9 MB, free: 53.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2562, allocations: 0 / 445.9 MB, free: 53.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.2564, allocations: 191.8 kB / 446.1 MB, free: 53.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.2566, allocations: 8.281 kB / 446.1 MB, free: 53.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00485/0.2615, allocations: 2.169 MB / 448.3 MB, free: 51.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.616e-05/0.2615, allocations: 98.53 kB / 448.4 MB, free: 51.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.954e-05/0.2615, allocations: 0 / 448.4 MB, free: 51.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.943e-05/0.2616, allocations: 23.88 kB / 448.4 MB, free: 51.6 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.2616, allocations: 3.219 kB / 448.4 MB, free: 51.6 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.3401003992184997]