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.001908/0.001908, 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.002277/0.002277, allocations: 211.3 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.465/1.465, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.186/0.186, allocations: 38.56 MB / 352.5 MB, free: 12.27 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_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: 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.002098/0.002098, allocations: 74.38 kB / 492.5 MB, free: 4.629 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3168, allocations: 62.46 MB / 0.542 GB, free: 224 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.003678/0.3205, allocations: 2.181 MB / 0.5441 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00316/0.3237, allocations: 1.899 MB / 0.5459 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.915e-05/0.3237, allocations: 0 / 0.5459 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000159/0.3239, allocations: 22.59 kB / 0.546 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.559e-05/0.324, allocations: 34.64 kB / 0.546 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002504/0.3265, allocations: 0.9694 MB / 0.5469 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.3266, allocations: 71 kB / 0.547 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.955e-05/0.3266, allocations: 18.34 kB / 0.547 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.3268, allocations: 40.31 kB / 0.5471 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.593e-05/0.3269, allocations: 50.22 kB / 0.5471 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.3269, allocations: 5.438 kB / 0.5471 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00309/0.33, allocations: 1.889 MB / 0.549 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.037e-05/0.33, allocations: 10.84 kB / 0.549 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.884e-05/0.3301, allocations: 16.92 kB / 0.549 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001624/0.3317, allocations: 1.311 MB / 0.5503 GB, free: 10.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3317, allocations: 3.938 kB / 0.5503 GB, free: 10.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3317, allocations: 4 kB / 0.5503 GB, free: 10.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.3317, allocations: 0 / 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000628/0.3323, allocations: 453.2 kB / 0.5507 GB, free: 9.875 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.3324, allocations: 12.64 kB / 0.5507 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.137e-05/0.3324, allocations: 33.16 kB / 0.5508 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.964e-05/0.3324, allocations: 7.797 kB / 0.5508 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.3326, allocations: 130.2 kB / 0.5509 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.3326, allocations: 0 / 0.5509 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.796e-06/0.3326, allocations: 1.25 kB / 0.5509 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.3328, allocations: 92.69 kB / 0.551 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.3328, allocations: 4 kB / 0.551 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.3328, allocations: 1 kB / 0.551 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.3328, allocations: 0 / 0.551 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.91e-05/0.3329, allocations: 67.39 kB / 0.551 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001732/0.3331, allocations: 145.2 kB / 0.5512 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.3332, allocations: 79.33 kB / 0.5513 GB, free: 9.316 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.852e-05/0.3333, allocations: 67.78 kB / 0.5513 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.867e-06/0.3333, allocations: 0 / 0.5513 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.3333, allocations: 32.59 kB / 0.5514 GB, free: 9.227 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.3333, allocations: 0 / 0.5514 GB, free: 9.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003443/0.3336, allocations: 243.8 kB / 0.5516 GB, free: 9.055 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.638e-05/0.3337, allocations: 88.11 kB / 0.5517 GB, free: 8.957 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.3338, allocations: 127.6 kB / 0.5518 GB, free: 8.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.3338, allocations: 25.7 kB / 0.5518 GB, free: 8.809 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.728e-05/0.3339, allocations: 87.42 kB / 0.5519 GB, free: 8.723 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.44e-05/0.3339, allocations: 27.02 kB / 0.5519 GB, free: 8.699 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-05/0.334, allocations: 20.33 kB / 0.5519 GB, free: 8.68 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3341, allocations: 322.1 kB / 0.5522 GB, free: 8.359 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.472e-05/0.3342, allocations: 62.64 kB / 0.5523 GB, free: 8.316 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.996e-05/0.3343, allocations: 66.98 kB / 0.5524 GB, free: 8.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.3344, allocations: 143.7 kB / 0.5525 GB, free: 8.172 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3344, allocations: 7.969 kB / 0.5525 GB, free: 8.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002199/0.3347, allocations: 174.7 kB / 0.5527 GB, free: 8.039 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.731e-05/0.3347, allocations: 41.41 kB / 0.5527 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.3347, allocations: 1.438 kB / 0.5527 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.3347, allocations: 0 / 0.5527 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.3347, allocations: 0 / 0.5527 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.3347, allocations: 0 / 0.5527 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.246e-05/0.3348, allocations: 10.8 kB / 0.5527 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.3348, allocations: 10.91 kB / 0.5527 GB, free: 7.988 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.3349, allocations: 155.4 kB / 0.5529 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.646e-05/0.3349, allocations: 8.438 kB / 0.5529 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.589e-05/0.335, allocations: 5.875 kB / 0.5529 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.335, allocations: 1.375 kB / 0.5529 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.335, allocations: 0 / 0.5529 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.335, allocations: 0 / 0.5529 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.3351, allocations: 151.6 kB / 0.5531 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3351, allocations: 0 / 0.5531 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-07/0.3351, allocations: 0 / 0.5531 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3351, allocations: 1.438 kB / 0.5531 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.3351, allocations: 5.375 kB / 0.5531 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.3351, allocations: 1.375 kB / 0.5531 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.3351, allocations: 7.938 kB / 0.5531 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003028/0.3354, allocations: 255.1 kB / 0.5533 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.492e-05/0.3354, allocations: 11.09 kB / 0.5533 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.3355, allocations: 2.094 kB / 0.5533 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.686e-05/0.3355, allocations: 6.297 kB / 0.5533 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.906e-05/0.3355, allocations: 4.812 kB / 0.5533 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.3355, allocations: 3.156 kB / 0.5533 GB, free: 7.438 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.339e-05/0.3356, allocations: 98.83 kB / 0.5534 GB, free: 7.352 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3356, allocations: 0 / 0.5534 GB, free: 7.352 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008871/0.3365, allocations: 324 kB / 0.5537 GB, free: 7.293 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.001475/0.3379, allocations: 1.06 MB / 0.5548 GB, free: 6.477 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003104/0.3382, allocations: 246.1 kB / 0.555 GB, free: 6.305 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.3382, allocations: 5.219 kB / 0.555 GB, free: 6.301 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.3384, allocations: 152.4 kB / 0.5552 GB, free: 6.184 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.3386, allocations: 8.906 kB / 0.5552 GB, free: 6.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.3407, allocations: 1.898 MB / 0.557 GB, free: 4.184 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.698e-05/0.3408, allocations: 83.31 kB / 0.5571 GB, free: 4.082 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.177e-05/0.3408, allocations: 0 / 0.5571 GB, free: 4.082 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.363e-05/0.3409, allocations: 15.44 kB / 0.5571 GB, free: 4.066 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3409, allocations: 4 kB / 0.5571 GB, free: 4.062 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: 2.9797735530883074] Failed to read output from testmodel.py, exit status != 0: 0.3739511757157743 0.392533634 0.05758201 Calling exit ...