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.001333/0.001333, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 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.001447/0.001447, allocations: 211.8 kB / 24.51 MB, free: 3.914 MB / 14.72 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 1.46/1.46, allocations: 230.6 MB / 258.3 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] 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.1939/0.1939, allocations: 38.56 MB / 353.3 MB, free: 12.3 MB / 286.1 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_matrixTrDat1,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1",fmuType="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.002107/0.002107, allocations: 68.53 kB / 493.3 MB, free: 4.672 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3605, allocations: 62.46 MB / 0.5427 GB, free: 224 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.004685/0.3652, allocations: 2.18 MB / 0.5448 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004094/0.3693, allocations: 1.895 MB / 0.5467 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.451e-05/0.3694, allocations: 1.688 kB / 0.5467 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001624/0.3695, allocations: 9.203 kB / 0.5467 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001268/0.3697, allocations: 30.58 kB / 0.5467 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003607/0.3733, allocations: 0.983 MB / 0.5477 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.3734, allocations: 74.31 kB / 0.5478 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.816e-05/0.3735, allocations: 15.58 kB / 0.5478 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001865/0.3737, allocations: 41.81 kB / 0.5478 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.3738, allocations: 51.16 kB / 0.5479 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.3738, allocations: 1.281 kB / 0.5479 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005045/0.3789, allocations: 2.042 MB / 0.5499 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.601e-05/0.379, allocations: 18.05 kB / 0.5499 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.223e-05/0.379, allocations: 27.75 kB / 0.5499 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002817/0.3819, allocations: 1.338 MB / 0.5512 GB, free: 10.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3819, allocations: 0 / 0.5512 GB, free: 10.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3819, allocations: 1.281 kB / 0.5512 GB, free: 10.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.3819, allocations: 3.938 kB / 0.5512 GB, free: 10.11 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001001/0.3829, allocations: 458.2 kB / 0.5517 GB, free: 9.691 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.92e-05/0.3829, allocations: 13.61 kB / 0.5517 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.65e-05/0.3829, allocations: 0.9688 kB / 0.5517 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.211e-05/0.383, allocations: 38.02 kB / 0.5517 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.676e-05/0.383, allocations: 8.516 kB / 0.5517 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.3833, allocations: 136.2 kB / 0.5519 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.3833, allocations: 9.094 kB / 0.5519 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.3833, allocations: 1.125 kB / 0.5519 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.3836, allocations: 117.2 kB / 0.552 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.3836, allocations: 3.984 kB / 0.552 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.3836, allocations: 1.125 kB / 0.552 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.3836, allocations: 0 / 0.552 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.3838, allocations: 82.95 kB / 0.5521 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002167/0.384, allocations: 143.6 kB / 0.5522 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.3842, allocations: 103.2 kB / 0.5523 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/0.3843, allocations: 83.22 kB / 0.5524 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.3843, allocations: 7.938 kB / 0.5524 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/0.3844, allocations: 32.53 kB / 0.5524 GB, free: 8.992 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.293e-06/0.3844, allocations: 0 / 0.5524 GB, free: 8.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006102/0.385, allocations: 295.2 kB / 0.5527 GB, free: 8.812 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.833e-05/0.3851, allocations: 93.25 kB / 0.5528 GB, free: 8.711 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.3852, allocations: 136.1 kB / 0.5529 GB, free: 8.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.3853, allocations: 27.05 kB / 0.5529 GB, free: 8.559 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.593e-05/0.3853, allocations: 95.69 kB / 0.553 GB, free: 8.465 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.331e-05/0.3854, allocations: 36.38 kB / 0.5531 GB, free: 8.434 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.535e-05/0.3855, allocations: 21.02 kB / 0.5531 GB, free: 8.414 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.3856, allocations: 322.2 kB / 0.5534 GB, free: 8.094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.3858, allocations: 83.27 kB / 0.5535 GB, free: 8.043 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.3859, allocations: 87.2 kB / 0.5536 GB, free: 7.988 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003131/0.3862, allocations: 186.2 kB / 0.5537 GB, free: 7.875 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3862, allocations: 1.281 kB / 0.5537 GB, free: 7.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003465/0.3866, allocations: 209.7 kB / 0.5539 GB, free: 7.742 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001337/0.3867, allocations: 48.45 kB / 0.554 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3867, allocations: 0 / 0.554 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3867, allocations: 3.938 kB / 0.554 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.298e-06/0.3867, allocations: 5.469 kB / 0.554 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3867, allocations: 0 / 0.554 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.905e-05/0.3868, allocations: 14.89 kB / 0.554 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/0.3868, allocations: 4.312 kB / 0.554 GB, free: 7.684 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.0001681/0.387, allocations: 169.2 kB / 0.5542 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.387, allocations: 9.547 kB / 0.5542 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.129e-05/0.387, allocations: 11.19 kB / 0.5542 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.387, allocations: 0 / 0.5542 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.387, allocations: 0 / 0.5542 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.3871, allocations: 5.219 kB / 0.5542 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.3872, allocations: 149.6 kB / 0.5543 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3872, allocations: 0 / 0.5543 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.353e-06/0.3872, allocations: 5.219 kB / 0.5543 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.3872, allocations: 4 kB / 0.5543 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.3872, allocations: 3.531 kB / 0.5543 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3872, allocations: 0 / 0.5543 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3872, allocations: 1.031 kB / 0.5543 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005249/0.3878, allocations: 333.5 kB / 0.5547 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.047e-05/0.3878, allocations: 7.359 kB / 0.5547 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.3878, allocations: 2.156 kB / 0.5547 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.218e-05/0.3879, allocations: 2.375 kB / 0.5547 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/0.3879, allocations: 13.92 kB / 0.5547 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.3879, allocations: 3.531 kB / 0.5547 GB, free: 7.094 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.01e-05/0.388, allocations: 109 kB / 0.5548 GB, free: 7.004 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.388, allocations: 0 / 0.5548 GB, free: 7.004 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00126/0.3893, allocations: 333.3 kB / 0.5551 GB, free: 6.941 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.001582/0.3908, allocations: 1.106 MB / 0.5562 GB, free: 6.012 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003915/0.3912, allocations: 314.7 kB / 0.5565 GB, free: 5.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.3912, allocations: 4 kB / 0.5565 GB, free: 5.676 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00019/0.3914, allocations: 197.1 kB / 0.5567 GB, free: 5.465 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.3917, allocations: 17.94 kB / 0.5567 GB, free: 5.449 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/0.3941, allocations: 2.193 MB / 0.5588 GB, free: 3.137 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.737e-05/0.3942, allocations: 87.59 kB / 0.5589 GB, free: 3.031 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.347e-05/0.3942, allocations: 4 kB / 0.5589 GB, free: 3.027 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.2e-05/0.3942, allocations: 23.42 kB / 0.559 GB, free: 3.004 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3942, allocations: 4.094 kB / 0.559 GB, free: 3 MB / 398.1 MB [CodegenCFunctions.tpl:5657:13-5657: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: 3.06624469300732] Failed to read output from testmodel.py, exit status != 0: 0.4296578810317442 0.44542448700000004 0.06013753 Calling exit ...