Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.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.001418/0.001418, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001561/0.001561, allocations: 211.1 kB / 23.73 MB, free: 4.387 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.524/1.524, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2154/0.2154, allocations: 38.56 MB / 352.5 MB, free: 12.31 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.EqCircFromTransDat,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat",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.002225/0.002225, allocations: 72.17 kB / 492.5 MB, free: 4.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3347, allocations: 62.47 MB / 0.542 GB, free: 260 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.003993/0.3387, allocations: 2.224 MB / 0.5441 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003528/0.3422, allocations: 1.906 MB / 0.546 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.451e-05/0.3423, allocations: 1.125 kB / 0.546 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001355/0.3424, allocations: 17.11 kB / 0.546 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.3425, allocations: 38.34 kB / 0.546 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002762/0.3453, allocations: 0.9462 MB / 0.547 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.3455, allocations: 102.3 kB / 0.5471 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.734e-05/0.3455, allocations: 11.11 kB / 0.5471 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.3457, allocations: 50.14 kB / 0.5471 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.3458, allocations: 55.11 kB / 0.5472 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.3458, allocations: 1.594 kB / 0.5472 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003077/0.3489, allocations: 1.851 MB / 0.549 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.947e-05/0.349, allocations: 35.11 kB / 0.549 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.738e-05/0.349, allocations: 34.48 kB / 0.549 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001751/0.3508, allocations: 1.32 MB / 0.5503 GB, free: 10.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3508, allocations: 0 / 0.5503 GB, free: 10.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3508, allocations: 0 / 0.5503 GB, free: 10.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.3508, allocations: 3.938 kB / 0.5503 GB, free: 10.29 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007199/0.3515, allocations: 497.7 kB / 0.5508 GB, free: 9.844 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.3516, allocations: 13.36 kB / 0.5508 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.99e-05/0.3516, allocations: 53.73 kB / 0.5509 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.803e-05/0.3517, allocations: 19.61 kB / 0.5509 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.3519, allocations: 154.8 kB / 0.551 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.3519, allocations: 10.84 kB / 0.5511 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.3519, allocations: 4.406 kB / 0.5511 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.3522, allocations: 171.6 kB / 0.5512 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.3522, allocations: 0 / 0.5512 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.3522, allocations: 6.062 kB / 0.5512 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3522, allocations: 1.094 kB / 0.5512 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.3524, allocations: 124 kB / 0.5513 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004775/0.3529, allocations: 322.3 kB / 0.5517 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.353, allocations: 112.9 kB / 0.5518 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.3531, allocations: 93.55 kB / 0.5519 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.414e-06/0.3532, allocations: 0 / 0.5519 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.3532, allocations: 33.28 kB / 0.5519 GB, free: 8.934 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 9.31e-07/0.3532, allocations: 0 / 0.5519 GB, free: 8.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004796/0.3537, allocations: 333.3 kB / 0.5522 GB, free: 8.727 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.32e-05/0.3537, allocations: 89.47 kB / 0.5523 GB, free: 8.629 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.3539, allocations: 147.6 kB / 0.5524 GB, free: 8.508 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.3539, allocations: 34.98 kB / 0.5525 GB, free: 8.469 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.809e-05/0.354, allocations: 122.7 kB / 0.5526 GB, free: 8.352 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.377e-05/0.354, allocations: 40.33 kB / 0.5526 GB, free: 8.316 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.641e-05/0.3541, allocations: 23.42 kB / 0.5526 GB, free: 8.297 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.3542, allocations: 326.4 kB / 0.553 GB, free: 7.973 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.3543, allocations: 84.42 kB / 0.553 GB, free: 7.922 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.3544, allocations: 86.31 kB / 0.5531 GB, free: 7.871 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002173/0.3547, allocations: 200.3 kB / 0.5533 GB, free: 7.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3547, allocations: 1.25 kB / 0.5533 GB, free: 7.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002902/0.355, allocations: 240.6 kB / 0.5535 GB, free: 7.594 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.792e-05/0.355, allocations: 58.52 kB / 0.5536 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.355, allocations: 1.062 kB / 0.5536 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.355, allocations: 0 / 0.5536 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.786e-06/0.355, allocations: 5.062 kB / 0.5536 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.355, allocations: 0 / 0.5536 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.7e-05/0.3551, allocations: 11.2 kB / 0.5536 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.3551, allocations: 5.438 kB / 0.5536 GB, free: 7.535 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.0001596/0.3553, allocations: 177.2 kB / 0.5538 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.708e-05/0.3553, allocations: 10.36 kB / 0.5538 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.155e-05/0.3553, allocations: 16.27 kB / 0.5538 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3553, allocations: 5.062 kB / 0.5538 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.3553, allocations: 0 / 0.5538 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.3553, allocations: 0.8438 kB / 0.5538 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.3556, allocations: 175.2 kB / 0.554 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3556, allocations: 1.156 kB / 0.554 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.776e-06/0.3556, allocations: 4 kB / 0.554 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3556, allocations: 3.984 kB / 0.554 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.3556, allocations: 8.547 kB / 0.554 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3556, allocations: 0 / 0.554 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3556, allocations: 1.156 kB / 0.554 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005085/0.3561, allocations: 411.2 kB / 0.5544 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.377e-05/0.3561, allocations: 20.44 kB / 0.5544 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.3561, allocations: 6.062 kB / 0.5544 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.042e-05/0.3562, allocations: 7.031 kB / 0.5544 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.118e-05/0.3562, allocations: 2.094 kB / 0.5544 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.3563, allocations: 5.5 kB / 0.5544 GB, free: 6.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001025/0.3564, allocations: 118.9 kB / 0.5545 GB, free: 6.746 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3564, allocations: 0 / 0.5545 GB, free: 6.746 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001295/0.3576, allocations: 340.7 kB / 0.5549 GB, free: 6.645 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.002039/0.3597, allocations: 1.388 MB / 0.5562 GB, free: 5.215 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000467/0.3602, allocations: 330.6 kB / 0.5565 GB, free: 4.867 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3602, allocations: 0 / 0.5565 GB, free: 4.867 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002279/0.3604, allocations: 197 kB / 0.5567 GB, free: 4.656 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.3608, allocations: 14.06 kB / 0.5567 GB, free: 4.645 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003112/0.3639, allocations: 2.567 MB / 0.5592 GB, free: 1.969 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.364, allocations: 121 kB / 0.5594 GB, free: 1.832 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.794e-05/0.364, allocations: 0 / 0.5594 GB, free: 1.832 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.736e-05/0.3641, allocations: 39.42 kB / 0.5594 GB, free: 1.793 MB / 398.1 MB Notification: Performance of SimCode: time 4.5e-07/0.3641, allocations: 0 / 0.5594 GB, free: 1.793 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.0390960900112987] Failed to read output from testmodel.py, exit status != 0: 0.39935707999393344 0.415290439 0.061310823 Calling exit ...