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.001002/0.001002, 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.001065/0.001065, allocations: 170.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.9377/0.9377, allocations: 177.1 MB / 204.3 MB, free: 5.754 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.2231/0.2231, allocations: 29.4 MB / 290.1 MB, free: 2.445 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 430.2 MB, free: 13.58 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.258e-05/1.399e-05, allocations: 2.281 kB / 430.2 MB, free: 13.58 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.002211/0.002225, allocations: 2.203 MB / 432.4 MB, free: 11.35 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001993/0.004218, allocations: 1.902 MB / 434.3 MB, free: 9.438 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.313e-05/0.004271, allocations: 3.938 kB / 434.3 MB, free: 9.434 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001228/0.004394, allocations: 15.91 kB / 434.3 MB, free: 9.418 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.326e-05/0.004467, allocations: 23.84 kB / 434.4 MB, free: 9.395 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001746/0.006213, allocations: 0.9768 MB / 435.3 MB, free: 8.418 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.006332, allocations: 79.62 kB / 435.4 MB, free: 8.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.067e-05/0.006372, allocations: 4.188 kB / 435.4 MB, free: 8.336 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.0065, allocations: 47.83 kB / 435.5 MB, free: 8.289 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.664e-05/0.006576, allocations: 43.88 kB / 435.5 MB, free: 8.246 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.006587, allocations: 0 / 435.5 MB, free: 8.246 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002107/0.008694, allocations: 1.905 MB / 437.4 MB, free: 6.336 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.854e-05/0.008763, allocations: 31.86 kB / 437.5 MB, free: 6.305 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.427e-05/0.008807, allocations: 19.92 kB / 437.5 MB, free: 6.285 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001833/0.01064, allocations: 1.508 MB / 439 MB, free: 4.773 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.01064, allocations: 0 / 439 MB, free: 4.773 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.01064, allocations: 0 / 439 MB, free: 4.773 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.01065, allocations: 0 / 439 MB, free: 4.773 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.0006008/0.01125, allocations: 0.4981 MB / 439.5 MB, free: 4.238 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.0113, allocations: 11.98 kB / 439.5 MB, free: 4.227 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.611e-05/0.01133, allocations: 42.73 kB / 439.5 MB, free: 4.176 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/0.01136, allocations: 12.84 kB / 439.5 MB, free: 4.164 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.01152, allocations: 145.3 kB / 439.7 MB, free: 3.996 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.01153, allocations: 4.125 kB / 439.7 MB, free: 3.992 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.01154, allocations: 4 kB / 439.7 MB, free: 3.988 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.01174, allocations: 166.4 kB / 439.9 MB, free: 3.816 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.01175, allocations: 3.938 kB / 439.9 MB, free: 3.812 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.01176, allocations: 0 / 439.9 MB, free: 3.812 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.01177, allocations: 4 kB / 439.9 MB, free: 3.809 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.573e-05/0.01186, allocations: 129.6 kB / 440 MB, free: 3.676 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001427/0.012, allocations: 156.6 kB / 440.1 MB, free: 3.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.01212, allocations: 144.2 kB / 440.3 MB, free: 3.324 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.707e-05/0.01221, allocations: 134.5 kB / 440.4 MB, free: 3.184 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.634e-06/0.01221, allocations: 0 / 440.4 MB, free: 3.184 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.01224, allocations: 34.56 kB / 440.4 MB, free: 3.141 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 9.02e-07/0.01224, allocations: 0 / 440.4 MB, free: 3.141 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004274/0.01267, allocations: 470.8 kB / 440.9 MB, free: 2.656 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.01272, allocations: 105 kB / 441 MB, free: 2.535 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.01282, allocations: 148.3 kB / 441.2 MB, free: 2.383 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.01284, allocations: 29.73 kB / 441.2 MB, free: 2.348 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.545e-05/0.01288, allocations: 100.6 kB / 441.3 MB, free: 2.246 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.191e-05/0.01295, allocations: 79.3 kB / 441.4 MB, free: 2.168 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.01298, allocations: 25.7 kB / 441.4 MB, free: 2.137 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.01309, allocations: 326.8 kB / 441.7 MB, free: 1.809 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.373e-05/0.01318, allocations: 133.6 kB / 441.8 MB, free: 1.672 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.034e-05/0.01326, allocations: 121.7 kB / 442 MB, free: 1.547 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001968/0.01346, allocations: 301.6 kB / 442.2 MB, free: 1.238 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.01346, allocations: 3.938 kB / 442.3 MB, free: 1.234 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002193/0.01368, allocations: 320.8 kB / 442.6 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.661e-05/0.01373, allocations: 65.72 kB / 442.6 MB, free: 0.832 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.01373, allocations: 7.938 kB / 442.6 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.01374, allocations: 0 / 442.6 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.482e-06/0.01374, allocations: 0 / 442.6 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.01375, allocations: 3.984 kB / 442.6 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.278e-05/0.01379, allocations: 15.89 kB / 442.7 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.01381, allocations: 4 kB / 442.7 MB, free: 0.8008 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.0001121/0.01392, allocations: 203.4 kB / 442.9 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.757e-05/0.01394, allocations: 19.91 kB / 442.9 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.444e-05/0.01396, allocations: 9.281 kB / 442.9 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.01396, allocations: 0 / 442.9 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.01396, allocations: 4 kB / 442.9 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.01396, allocations: 0 / 442.9 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.961e-05/0.01406, allocations: 168.5 kB / 443.1 MB, free: 352 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.01406, allocations: 0 / 443.1 MB, free: 352 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.71e-07/0.01407, allocations: 4 kB / 443.1 MB, free: 348 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.11e-07/0.01407, allocations: 0 / 443.1 MB, free: 348 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.01408, allocations: 11.92 kB / 443.1 MB, free: 336 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.3e-07/0.01408, allocations: 0 / 443.1 MB, free: 336 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01408, allocations: 0 / 443.1 MB, free: 336 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1903/0.2044, allocations: 0.5104 MB / 443.6 MB, free: 54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.12e-05/0.2044, allocations: 12.97 kB / 443.6 MB, free: 54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.2044, allocations: 8.625 kB / 443.6 MB, free: 54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.496e-05/0.2045, allocations: 7.125 kB / 443.6 MB, free: 54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.104e-05/0.2045, allocations: 4 kB / 443.6 MB, free: 54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.2045, allocations: 6.531 kB / 443.6 MB, free: 54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.665e-05/0.2046, allocations: 118.1 kB / 443.7 MB, free: 53.92 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2046, allocations: 0.7188 kB / 443.7 MB, free: 53.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007319/0.2053, allocations: 336.6 kB / 444.1 MB, free: 53.92 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.0009995/0.2063, allocations: 1.359 MB / 445.4 MB, free: 53.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003229/0.2066, allocations: 0.5034 MB / 445.9 MB, free: 53.15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2066, allocations: 1.969 kB / 445.9 MB, free: 53.15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.2067, allocations: 290.6 kB / 446.2 MB, free: 53.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001644/0.2069, allocations: 17.36 kB / 446.2 MB, free: 53.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.2086, allocations: 2.963 MB / 449.2 MB, free: 51.44 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.719e-05/0.2087, allocations: 115 kB / 449.3 MB, free: 51.36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.631e-05/0.2087, allocations: 0 / 449.3 MB, free: 51.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.153e-05/0.2088, allocations: 35.17 kB / 449.3 MB, free: 51.34 MB / 410.7 MB Notification: Performance of SimCode: time 9.72e-07/0.2088, allocations: 0 / 449.3 MB, free: 51.34 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.0115439919754863] Failed to read output from testmodel.py, exit status != 0: 0.22559182904660702 0.23235023100000002 0.220368637 Calling exit ...