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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001817/0.001817, allocations: 124.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002034/0.002034, allocations: 186.9 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 225.6 MB / 249.1 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1815/0.1815, allocations: 38.51 MB / 342.5 MB, free: 8.094 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 67.67 kB / 478.6 MB, free: 33.44 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1086, allocations: 61.25 MB / 0.5272 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.00346/0.1121, allocations: 2.111 MB / 0.5293 GB, free: 15.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003148/0.1152, allocations: 2.054 MB / 0.5313 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.258e-05/0.1153, allocations: 0 / 0.5313 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001586/0.1154, allocations: 19.91 kB / 0.5313 GB, free: 13.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.235e-05/0.1155, allocations: 27.83 kB / 0.5313 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002052/0.1176, allocations: 0.8422 MB / 0.5322 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.1177, allocations: 71.7 kB / 0.5322 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.625e-05/0.1177, allocations: 4.172 kB / 0.5322 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.609e-05/0.1178, allocations: 31.84 kB / 0.5323 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.704e-05/0.1179, allocations: 43.83 kB / 0.5323 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.1179, allocations: 4 kB / 0.5323 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002305/0.1202, allocations: 1.606 MB / 0.5339 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.838e-05/0.1203, allocations: 19.92 kB / 0.5339 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.076e-05/0.1203, allocations: 27.8 kB / 0.5339 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001542/0.1218, allocations: 1.309 MB / 0.5352 GB, free: 9.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1219, allocations: 0 / 0.5352 GB, free: 9.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1219, allocations: 0 / 0.5352 GB, free: 9.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1219, allocations: 0 / 0.5352 GB, free: 9.18 MB / 398.1 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.0006826/0.1225, allocations: 0.5152 MB / 0.5357 GB, free: 8.609 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.1226, allocations: 11.89 kB / 0.5357 GB, free: 8.598 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.749e-05/0.1226, allocations: 34.75 kB / 0.5358 GB, free: 8.555 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.14e-05/0.1227, allocations: 12.89 kB / 0.5358 GB, free: 8.543 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.1229, allocations: 191.2 kB / 0.536 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.142e-06/0.1229, allocations: 0 / 0.536 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.1229, allocations: 0 / 0.536 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.123, allocations: 61.61 kB / 0.536 GB, free: 8.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.123, allocations: 3.938 kB / 0.536 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.123, allocations: 0 / 0.536 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.123, allocations: 0 / 0.536 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.331e-05/0.1231, allocations: 19.98 kB / 0.536 GB, free: 8.227 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/0.1233, allocations: 169.6 kB / 0.5362 GB, free: 8.012 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.439e-05/0.1233, allocations: 38.56 kB / 0.5362 GB, free: 7.965 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.308e-05/0.1234, allocations: 28.81 kB / 0.5363 GB, free: 7.934 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.998e-06/0.1234, allocations: 0 / 0.5363 GB, free: 7.934 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.1234, allocations: 34.56 kB / 0.5363 GB, free: 7.891 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 7.82e-07/0.1234, allocations: 0 / 0.5363 GB, free: 7.891 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002785/0.1237, allocations: 147.3 kB / 0.5364 GB, free: 7.734 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.33e-05/0.1237, allocations: 97.06 kB / 0.5365 GB, free: 7.621 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.1239, allocations: 125.6 kB / 0.5366 GB, free: 7.492 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.1239, allocations: 25.7 kB / 0.5367 GB, free: 7.461 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.693e-05/0.1239, allocations: 92.12 kB / 0.5368 GB, free: 7.367 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.642e-05/0.124, allocations: 31.89 kB / 0.5368 GB, free: 7.336 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.985e-05/0.124, allocations: 21.7 kB / 0.5368 GB, free: 7.309 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1242, allocations: 322.8 kB / 0.5371 GB, free: 6.984 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.223e-05/0.1242, allocations: 23.94 kB / 0.5371 GB, free: 6.961 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.388e-05/0.1242, allocations: 27.98 kB / 0.5372 GB, free: 6.934 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.1244, allocations: 124.2 kB / 0.5373 GB, free: 6.797 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1244, allocations: 0 / 0.5373 GB, free: 6.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000155/0.1245, allocations: 127.3 kB / 0.5374 GB, free: 6.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.059e-05/0.1246, allocations: 37.69 kB / 0.5374 GB, free: 6.617 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.1246, allocations: 4 kB / 0.5374 GB, free: 6.613 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.1246, allocations: 0 / 0.5374 GB, free: 6.613 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.565e-06/0.1246, allocations: 3.984 kB / 0.5374 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.1246, allocations: 0 / 0.5374 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.197e-05/0.1246, allocations: 0 / 0.5374 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.1247, allocations: 12 kB / 0.5375 GB, free: 6.598 MB / 398.1 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.000122/0.1248, allocations: 159.5 kB / 0.5376 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.72e-05/0.1248, allocations: 7.953 kB / 0.5376 GB, free: 6.418 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.209e-05/0.1248, allocations: 12.36 kB / 0.5376 GB, free: 6.406 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1248, allocations: 4 kB / 0.5376 GB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1248, allocations: 0 / 0.5376 GB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1248, allocations: 0 / 0.5376 GB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.125, allocations: 181.5 kB / 0.5378 GB, free: 6.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.125, allocations: 0 / 0.5378 GB, free: 6.176 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.125, allocations: 0 / 0.5378 GB, free: 6.176 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.125, allocations: 8 kB / 0.5378 GB, free: 6.168 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.125, allocations: 3.984 kB / 0.5378 GB, free: 6.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.125, allocations: 0 / 0.5378 GB, free: 6.164 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.125, allocations: 4.312 kB / 0.5378 GB, free: 6.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.1253, allocations: 218.6 kB / 0.538 GB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.001e-05/0.1253, allocations: 81.06 kB / 0.5381 GB, free: 5.824 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.1253, allocations: 7.984 kB / 0.5381 GB, free: 5.816 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.185e-05/0.1253, allocations: 0 / 0.5381 GB, free: 5.816 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.167e-05/0.1254, allocations: 8.031 kB / 0.5381 GB, free: 5.809 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-06/0.1254, allocations: 0 / 0.5381 GB, free: 5.809 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.897e-05/0.1254, allocations: 103.1 kB / 0.5382 GB, free: 5.707 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1254, allocations: 0 / 0.5382 GB, free: 5.707 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007933/0.1262, allocations: 315.4 kB / 0.5385 GB, free: 5.398 MB / 398.1 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.001306/0.1275, allocations: 1.022 MB / 0.5395 GB, free: 4.344 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002487/0.1278, allocations: 167.3 kB / 0.5397 GB, free: 4.168 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1278, allocations: 0 / 0.5397 GB, free: 4.168 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.1279, allocations: 135.3 kB / 0.5398 GB, free: 4.023 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.1281, allocations: 4 kB / 0.5398 GB, free: 4.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.13, allocations: 1.703 MB / 0.5415 GB, free: 2.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.1303, allocations: 0.6924 MB / 0.5422 GB, free: 1.512 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.106e-05/0.1303, allocations: 3.938 kB / 0.5422 GB, free: 1.508 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.1303, allocations: 19.42 kB / 0.5422 GB, free: 1.488 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1303, allocations: 0 / 0.5422 GB, free: 1.488 MB / 398.1 MB [CodegenCFunctions.tpl:5632:13-5632: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.8395481100305915] Failed to read output from testmodel.py, exit status != 0: 0.15645251516252756 0.17237154300000002 0.046346371000000004 Calling exit ...