Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.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.001226/0.001226, allocations: 83.69 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.001928/0.001928, allocations: 166 kB / 23.95 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 0.9935/0.9935, allocations: 177.1 MB / 204.2 MB, free: 5.766 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.2919/0.2919, allocations: 29.42 MB / 290.1 MB, free: 2.41 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_matrixTrDat0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 3.938 kB / 431.8 MB, free: 12.02 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.455e-05/3.637e-05, allocations: 2.281 kB / 431.8 MB, free: 12.02 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.004509/0.004545, allocations: 2.189 MB / 434 MB, free: 9.809 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003145/0.00769, allocations: 1.899 MB / 435.9 MB, free: 7.898 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.007791, allocations: 0 / 435.9 MB, free: 7.898 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003023/0.008094, allocations: 23.84 kB / 435.9 MB, free: 7.875 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.008211, allocations: 23.78 kB / 436 MB, free: 7.852 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002733/0.01094, allocations: 0.9888 MB / 436.9 MB, free: 6.863 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002086/0.01115, allocations: 71.69 kB / 437 MB, free: 6.793 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.086e-05/0.01123, allocations: 8.188 kB / 437 MB, free: 6.785 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002542/0.01149, allocations: 47.81 kB / 437.1 MB, free: 6.738 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.0116, allocations: 35.89 kB / 437.1 MB, free: 6.703 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.01162, allocations: 3.938 kB / 437.1 MB, free: 6.699 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003071/0.01469, allocations: 1.902 MB / 439 MB, free: 4.793 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.914e-05/0.01476, allocations: 19.92 kB / 439 MB, free: 4.773 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.346e-05/0.01481, allocations: 7.938 kB / 439 MB, free: 4.766 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002301/0.01711, allocations: 1.469 MB / 440.5 MB, free: 3.293 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.01712, allocations: 0 / 440.5 MB, free: 3.293 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.01712, allocations: 0 / 440.5 MB, free: 3.293 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.01713, allocations: 0 / 440.5 MB, free: 3.293 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008593/0.01799, allocations: 446.5 kB / 440.9 MB, free: 2.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0005503/0.01854, allocations: 11.98 kB / 441 MB, free: 2.809 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.334e-05/0.01859, allocations: 30.75 kB / 441 MB, free: 2.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.511e-05/0.01866, allocations: 8.891 kB / 441 MB, free: 2.762 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.01888, allocations: 141.3 kB / 441.1 MB, free: 2.598 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.01889, allocations: 0 / 441.1 MB, free: 2.598 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.01891, allocations: 4 kB / 441.1 MB, free: 2.594 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.01911, allocations: 91.38 kB / 441.2 MB, free: 2.492 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.01913, allocations: 0 / 441.2 MB, free: 2.492 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.01914, allocations: 0 / 441.2 MB, free: 2.492 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.01915, allocations: 0 / 441.2 MB, free: 2.492 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.684e-05/0.01922, allocations: 69.67 kB / 441.3 MB, free: 2.418 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001633/0.01938, allocations: 136.6 kB / 441.4 MB, free: 2.242 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.979e-05/0.01948, allocations: 76.2 kB / 441.5 MB, free: 2.152 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.619e-05/0.01954, allocations: 70.56 kB / 441.6 MB, free: 2.074 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-06/0.01954, allocations: 4 kB / 441.6 MB, free: 2.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.01957, allocations: 34.56 kB / 441.6 MB, free: 2.027 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 2.044e-06/0.01957, allocations: 0 / 441.6 MB, free: 2.027 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003478/0.01992, allocations: 238.6 kB / 441.8 MB, free: 1.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.01998, allocations: 85.11 kB / 441.9 MB, free: 1.668 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.02009, allocations: 125.8 kB / 442 MB, free: 1.535 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.02011, allocations: 25.7 kB / 442.1 MB, free: 1.504 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.802e-05/0.02016, allocations: 88.14 kB / 442.2 MB, free: 1.414 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.485e-05/0.02021, allocations: 39.61 kB / 442.2 MB, free: 1.375 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-05/0.02025, allocations: 13.72 kB / 442.2 MB, free: 1.355 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.02037, allocations: 330.8 kB / 442.5 MB, free: 1.023 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.425e-05/0.02043, allocations: 61.67 kB / 442.6 MB, free: 0.957 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.976e-05/0.02048, allocations: 61.69 kB / 442.7 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.02061, allocations: 136.2 kB / 442.8 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.02062, allocations: 0 / 442.8 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001776/0.0208, allocations: 181.1 kB / 443 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.367e-05/0.02086, allocations: 41.69 kB / 443 MB, free: 0.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.02087, allocations: 0 / 443 MB, free: 0.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.02089, allocations: 0 / 443 MB, free: 0.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.435e-06/0.02089, allocations: 4 kB / 443 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.0209, allocations: 3.938 kB / 443 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.82e-05/0.02095, allocations: 8.062 kB / 443 MB, free: 496 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.648e-05/0.02098, allocations: 4 kB / 443 MB, free: 492 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.0001237/0.0211, allocations: 163.4 kB / 443.2 MB, free: 312 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.02112, allocations: 11.95 kB / 443.2 MB, free: 300 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.075e-05/0.02114, allocations: 8.422 kB / 443.2 MB, free: 292 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.02114, allocations: 0 / 443.2 MB, free: 292 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.02115, allocations: 0 / 443.2 MB, free: 292 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.02115, allocations: 0 / 443.2 MB, free: 292 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.02127, allocations: 144.7 kB / 443.3 MB, free: 104 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.02127, allocations: 0 / 443.3 MB, free: 104 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.72e-07/0.02127, allocations: 4 kB / 443.3 MB, free: 100 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.02127, allocations: 0 / 443.3 MB, free: 100 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.02129, allocations: 4 kB / 443.4 MB, free: 96 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.02129, allocations: 0 / 443.4 MB, free: 96 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.02129, allocations: 0 / 443.4 MB, free: 96 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2993/0.3205, allocations: 256 kB / 443.6 MB, free: 54.13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.129e-05/0.3206, allocations: 11.56 kB / 443.6 MB, free: 54.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.3206, allocations: 3.125 kB / 443.6 MB, free: 54.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.6e-05/0.3207, allocations: 1.094 kB / 443.6 MB, free: 54.13 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/0.3207, allocations: 4.5 kB / 443.6 MB, free: 54.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.3207, allocations: 3.844 kB / 443.6 MB, free: 54.13 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.403e-05/0.3208, allocations: 99.64 kB / 443.7 MB, free: 54.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3208, allocations: 0 / 443.7 MB, free: 54.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001392/0.3222, allocations: 317.6 kB / 444 MB, free: 54.05 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.001476/0.3237, allocations: 1.098 MB / 445.1 MB, free: 53.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003464/0.324, allocations: 242.8 kB / 445.4 MB, free: 53.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.324, allocations: 0 / 445.4 MB, free: 53.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.3241, allocations: 154.4 kB / 445.5 MB, free: 53.19 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.3244, allocations: 8.062 kB / 445.5 MB, free: 53.19 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.3264, allocations: 1.898 MB / 447.4 MB, free: 51.87 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.114e-05/0.3265, allocations: 80.59 kB / 447.5 MB, free: 51.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.776e-05/0.3265, allocations: 0 / 447.5 MB, free: 51.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.977e-05/0.3266, allocations: 23.23 kB / 447.5 MB, free: 51.8 MB / 410.7 MB Notification: Performance of SimCode: time 2.224e-06/0.3266, allocations: 3.312 kB / 447.5 MB, free: 51.8 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.543133298866451]