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.004374/0.004374, allocations: 111 kB / 20.43 MB, free: 4.594 MB / 13.93 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.001585/0.001585, allocations: 217.5 kB / 23.73 MB, free: 2.133 MB / 13.93 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.985/0.985, allocations: 230.6 MB / 257.5 MB, free: 9.645 MB / 202.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.1234/0.1234, allocations: 38.59 MB / 352.5 MB, free: 11.38 MB / 282.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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002592/0.002592, allocations: 79.88 kB / 494.1 MB, free: 3.785 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1107, allocations: 62.49 MB / 0.5436 GB, free: 5.176 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.002859/0.1135, allocations: 2.176 MB / 0.5457 GB, free: 2.977 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002128/0.1157, allocations: 1.899 MB / 0.5475 GB, free: 1.066 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.194e-05/0.1157, allocations: 7.938 kB / 0.5475 GB, free: 1.059 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000185/0.1159, allocations: 11.92 kB / 0.5475 GB, free: 1.047 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.865e-05/0.116, allocations: 27.83 kB / 0.5476 GB, free: 1.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001911/0.1179, allocations: 0.955 MB / 0.5485 GB, free: 64 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.118, allocations: 79.69 kB / 0.5486 GB, free: 15.98 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.089e-05/0.1181, allocations: 12.17 kB / 0.5486 GB, free: 15.97 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.1182, allocations: 43.83 kB / 0.5486 GB, free: 15.93 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.117e-05/0.1183, allocations: 39.77 kB / 0.5487 GB, free: 15.89 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.027e-06/0.1183, allocations: 4 kB / 0.5487 GB, free: 15.89 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002233/0.1205, allocations: 1.894 MB / 0.5505 GB, free: 13.99 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.585e-05/0.1206, allocations: 11.92 kB / 0.5505 GB, free: 13.98 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.614e-05/0.1206, allocations: 19.86 kB / 0.5506 GB, free: 13.96 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001498/0.1221, allocations: 1.325 MB / 0.5519 GB, free: 12.63 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.1221, allocations: 0 / 0.5519 GB, free: 12.63 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1221, allocations: 0 / 0.5519 GB, free: 12.63 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1221, allocations: 0 / 0.5519 GB, free: 12.63 MB / 426.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.00058/0.1227, allocations: 446.5 kB / 0.5523 GB, free: 12.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.1227, allocations: 11.97 kB / 0.5523 GB, free: 12.14 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.627e-05/0.1228, allocations: 34.75 kB / 0.5523 GB, free: 12.1 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.542e-05/0.1228, allocations: 4.891 kB / 0.5523 GB, free: 12.1 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.1229, allocations: 133.4 kB / 0.5525 GB, free: 11.94 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.1229, allocations: 4 kB / 0.5525 GB, free: 11.94 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.236e-06/0.1229, allocations: 0 / 0.5525 GB, free: 11.94 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.1231, allocations: 99.36 kB / 0.5526 GB, free: 11.83 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.1231, allocations: 3.938 kB / 0.5526 GB, free: 11.82 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.1231, allocations: 0 / 0.5526 GB, free: 11.82 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1231, allocations: 0 / 0.5526 GB, free: 11.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.801e-05/0.1231, allocations: 61.69 kB / 0.5526 GB, free: 11.76 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001145/0.1232, allocations: 136.7 kB / 0.5527 GB, free: 11.58 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.14e-05/0.1233, allocations: 80.25 kB / 0.5528 GB, free: 11.49 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.744e-05/0.1234, allocations: 62.58 kB / 0.5529 GB, free: 11.42 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.1234, allocations: 0 / 0.5529 GB, free: 11.42 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.1234, allocations: 42.5 kB / 0.5529 GB, free: 11.37 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.1234, allocations: 4 kB / 0.5529 GB, free: 11.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003166/0.1237, allocations: 238.6 kB / 0.5532 GB, free: 11.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.1238, allocations: 89.09 kB / 0.5532 GB, free: 11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.592e-05/0.1238, allocations: 120.8 kB / 0.5534 GB, free: 10.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.1239, allocations: 29.69 kB / 0.5534 GB, free: 10.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.156e-05/0.1239, allocations: 92.3 kB / 0.5535 GB, free: 10.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.1239, allocations: 31.72 kB / 0.5535 GB, free: 10.71 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.212e-05/0.124, allocations: 17.72 kB / 0.5535 GB, free: 10.69 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.697e-05/0.124, allocations: 326.8 kB / 0.5538 GB, free: 10.36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.066e-05/0.1241, allocations: 57.69 kB / 0.5539 GB, free: 10.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.105e-05/0.1241, allocations: 69.7 kB / 0.554 GB, free: 10.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.665e-05/0.1242, allocations: 144.2 kB / 0.5541 GB, free: 10.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1242, allocations: 0 / 0.5541 GB, free: 10.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001339/0.1244, allocations: 169 kB / 0.5542 GB, free: 9.887 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.539e-05/0.1244, allocations: 44.66 kB / 0.5543 GB, free: 9.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1244, allocations: 0 / 0.5543 GB, free: 9.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1244, allocations: 0 / 0.5543 GB, free: 9.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.305e-06/0.1244, allocations: 3.984 kB / 0.5543 GB, free: 9.836 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1244, allocations: 320 / 0.5543 GB, free: 9.836 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.513e-05/0.1245, allocations: 7.938 kB / 0.5543 GB, free: 9.828 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.1245, allocations: 7.938 kB / 0.5543 GB, free: 9.82 MB / 426.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 8.409e-05/0.1246, allocations: 159.6 kB / 0.5545 GB, free: 9.648 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.938e-06/0.1246, allocations: 7.953 kB / 0.5545 GB, free: 9.641 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.763e-05/0.1246, allocations: 12.34 kB / 0.5545 GB, free: 9.625 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1246, allocations: 0 / 0.5545 GB, free: 9.625 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.1246, allocations: 4 kB / 0.5545 GB, free: 9.621 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1246, allocations: 3.938 kB / 0.5545 GB, free: 9.617 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.909e-05/0.1247, allocations: 136.6 kB / 0.5546 GB, free: 9.441 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1247, allocations: 0 / 0.5546 GB, free: 9.441 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.92e-07/0.1247, allocations: 0 / 0.5546 GB, free: 9.441 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.1247, allocations: 0 / 0.5546 GB, free: 9.441 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.1247, allocations: 15.92 kB / 0.5546 GB, free: 9.426 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.1247, allocations: 4 kB / 0.5546 GB, free: 9.422 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1247, allocations: 0 / 0.5546 GB, free: 9.422 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.1249, allocations: 256.3 kB / 0.5549 GB, free: 9.141 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.969e-06/0.1249, allocations: 11.89 kB / 0.5549 GB, free: 9.129 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.1249, allocations: 0 / 0.5549 GB, free: 9.129 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.787e-05/0.125, allocations: 4 kB / 0.5549 GB, free: 9.125 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.484e-05/0.125, allocations: 4 kB / 0.5549 GB, free: 9.121 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-06/0.125, allocations: 4 kB / 0.5549 GB, free: 9.117 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.128e-05/0.125, allocations: 103.2 kB / 0.555 GB, free: 9.016 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.125, allocations: 0 / 0.555 GB, free: 9.016 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007444/0.1258, allocations: 319.4 kB / 0.5553 GB, free: 8.703 MB / 426.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.001019/0.1268, allocations: 1.047 MB / 0.5563 GB, free: 7.617 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002208/0.127, allocations: 242.7 kB / 0.5566 GB, free: 7.355 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.127, allocations: 0 / 0.5566 GB, free: 7.355 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.147e-05/0.1271, allocations: 153.1 kB / 0.5567 GB, free: 7.188 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001647/0.1273, allocations: 16.08 kB / 0.5567 GB, free: 7.172 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.1286, allocations: 1.9 MB / 0.5586 GB, free: 5.152 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.896e-05/0.1286, allocations: 75.33 kB / 0.5587 GB, free: 5.059 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.477e-05/0.1286, allocations: 4 kB / 0.5587 GB, free: 5.055 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.351e-05/0.1287, allocations: 19.42 kB / 0.5587 GB, free: 5.035 MB / 426.7 MB Notification: Performance of SimCode: time 7.02e-07/0.1287, allocations: 0 / 0.5587 GB, free: 5.035 MB / 426.7 MB [CodegenCFunctions.tpl:5658:13-5658: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.4605872631073]