Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.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.001296/0.001296, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001438/0.001438, allocations: 207.5 kB / 23.73 MB, free: 4.379 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.491/1.491, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1865/0.1865, allocations: 38.55 MB / 352.5 MB, free: 12.32 MB / 286.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/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.TransDatFromEqCirc,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_TransDatFromEqCirc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_TransDatFromEqCirc",fmuType="me",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.002062/0.002062, allocations: 75.83 kB / 492.5 MB, free: 4.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3392, allocations: 62.47 MB / 0.542 GB, free: 276 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.004726/0.3439, allocations: 2.234 MB / 0.5441 GB, free: 14.51 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.3456, allocations: 1.024 MB / 0.5451 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.062e-05/0.3457, allocations: 1.75 kB / 0.5451 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.3458, allocations: 13.64 kB / 0.5451 GB, free: 13.74 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.3459, allocations: 52.31 kB / 0.5452 GB, free: 13.7 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.3469, allocations: 341.1 kB / 0.5455 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.3471, allocations: 116.1 kB / 0.5456 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.119e-05/0.3471, allocations: 10.69 kB / 0.5456 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.3473, allocations: 55.31 kB / 0.5457 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.3474, allocations: 77.08 kB / 0.5458 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.3474, allocations: 3.031 kB / 0.5458 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008927/0.3483, allocations: 0.6015 MB / 0.5464 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.017e-05/0.3484, allocations: 33.97 kB / 0.5464 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.714e-05/0.3484, allocations: 30.98 kB / 0.5464 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006511/0.3491, allocations: 0.5381 MB / 0.5469 GB, free: 12.58 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.3491, allocations: 1.031 kB / 0.5469 GB, free: 12.58 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3491, allocations: 0 / 0.5469 GB, free: 12.58 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.3491, allocations: 4 kB / 0.547 GB, free: 12.57 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004874/0.3496, allocations: 394 kB / 0.5473 GB, free: 12.2 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.3496, allocations: 12.77 kB / 0.5473 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.48e-05/0.3497, allocations: 66.28 kB / 0.5474 GB, free: 12.13 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.3497, allocations: 20.31 kB / 0.5474 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.3499, allocations: 134.5 kB / 0.5476 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.3499, allocations: 7.844 kB / 0.5476 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.35, allocations: 8.875 kB / 0.5476 GB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002803/0.3502, allocations: 199.2 kB / 0.5478 GB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.3502, allocations: 3.984 kB / 0.5478 GB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.3503, allocations: 1.344 kB / 0.5478 GB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.3503, allocations: 5.281 kB / 0.5478 GB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/0.3504, allocations: 144.5 kB / 0.5479 GB, free: 11.76 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004256/0.3509, allocations: 318.2 kB / 0.5482 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.351, allocations: 131.6 kB / 0.5483 GB, free: 11.37 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.3512, allocations: 121.9 kB / 0.5485 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-06/0.3512, allocations: 0 / 0.5485 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.3512, allocations: 35.75 kB / 0.5485 GB, free: 11.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 9.81e-07/0.3512, allocations: 1.281 kB / 0.5485 GB, free: 11.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005877/0.3518, allocations: 431.6 kB / 0.5489 GB, free: 11 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.289e-05/0.3519, allocations: 93.62 kB / 0.549 GB, free: 10.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.352, allocations: 140.9 kB / 0.5491 GB, free: 10.79 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.352, allocations: 25.7 kB / 0.5491 GB, free: 10.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.655e-05/0.3521, allocations: 109.9 kB / 0.5493 GB, free: 10.65 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.377e-05/0.3521, allocations: 60.34 kB / 0.5493 GB, free: 10.6 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-05/0.3522, allocations: 27.64 kB / 0.5493 GB, free: 10.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3523, allocations: 327.5 kB / 0.5496 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.3524, allocations: 116.2 kB / 0.5498 GB, free: 10.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.3525, allocations: 113.4 kB / 0.5499 GB, free: 10.12 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002647/0.3528, allocations: 262.5 kB / 0.5501 GB, free: 9.973 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3528, allocations: 0 / 0.5501 GB, free: 9.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003324/0.3531, allocations: 307.9 kB / 0.5504 GB, free: 9.785 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.476e-05/0.3532, allocations: 55.36 kB / 0.5505 GB, free: 9.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.3532, allocations: 0 / 0.5505 GB, free: 9.742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.3532, allocations: 1.094 kB / 0.5505 GB, free: 9.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.82e-07/0.3532, allocations: 0 / 0.5505 GB, free: 9.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.3532, allocations: 1.406 kB / 0.5505 GB, free: 9.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.757e-05/0.3533, allocations: 11.64 kB / 0.5505 GB, free: 9.734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.3533, allocations: 6.688 kB / 0.5505 GB, free: 9.734 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.0001579/0.3535, allocations: 183.7 kB / 0.5507 GB, free: 9.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.045e-05/0.3535, allocations: 15.83 kB / 0.5507 GB, free: 9.562 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.772e-05/0.3535, allocations: 16.12 kB / 0.5507 GB, free: 9.551 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.3535, allocations: 3.984 kB / 0.5507 GB, free: 9.547 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3535, allocations: 5.156 kB / 0.5507 GB, free: 9.543 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.3535, allocations: 0 / 0.5507 GB, free: 9.543 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.3537, allocations: 172 kB / 0.5509 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3537, allocations: 0 / 0.5509 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.595e-06/0.3537, allocations: 3.938 kB / 0.5509 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.3537, allocations: 1.312 kB / 0.5509 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.3537, allocations: 4.344 kB / 0.5509 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.3537, allocations: 0 / 0.5509 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.3537, allocations: 5.312 kB / 0.5509 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000556/0.3543, allocations: 0.5186 MB / 0.5514 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.603e-05/0.3543, allocations: 22.78 kB / 0.5514 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.3544, allocations: 4.562 kB / 0.5514 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.984e-05/0.3544, allocations: 3.844 kB / 0.5514 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.476e-05/0.3544, allocations: 2.5 kB / 0.5514 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.3545, allocations: 6.188 kB / 0.5514 GB, free: 8.992 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.369e-05/0.3545, allocations: 109.2 kB / 0.5515 GB, free: 8.902 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3545, allocations: 0 / 0.5515 GB, free: 8.902 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005222/0.3551, allocations: 139.5 kB / 0.5517 GB, free: 8.883 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.001453/0.3565, allocations: 1.369 MB / 0.553 GB, free: 7.855 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005192/0.357, allocations: 438.9 kB / 0.5534 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.357, allocations: 0 / 0.5534 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000262/0.3573, allocations: 255.5 kB / 0.5537 GB, free: 7.438 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.3576, allocations: 20.58 kB / 0.5537 GB, free: 7.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003028/0.3606, allocations: 2.788 MB / 0.5564 GB, free: 4.934 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.3607, allocations: 117.2 kB / 0.5565 GB, free: 4.797 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.242e-05/0.3608, allocations: 7.984 kB / 0.5565 GB, free: 4.789 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.8e-05/0.3608, allocations: 31.44 kB / 0.5565 GB, free: 4.758 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3608, allocations: 0 / 0.5565 GB, free: 4.758 MB / 398.1 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: 3.0076044899760745] Failed to read output from testmodel.py, exit status != 0: 0.3902954179793596 0.40611460200000005 0.053850973 Calling exit ...