Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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.001718/0.001718, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002007/0.002007, allocations: 211.7 kB / 23.73 MB, free: 4.16 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.548/1.548, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.1918/0.1918, allocations: 38.56 MB / 352.5 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 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.Z_matrixTrDat2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",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.002892/0.002892, allocations: 67.88 kB / 492.5 MB, free: 4.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3708, allocations: 62.47 MB / 0.542 GB, free: 232 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.003889/0.3747, allocations: 2.188 MB / 0.5441 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003266/0.378, allocations: 1.895 MB / 0.5459 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.028e-05/0.3781, allocations: 1.219 kB / 0.5459 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001483/0.3782, allocations: 18.22 kB / 0.546 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.978e-05/0.3783, allocations: 23.09 kB / 0.546 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00288/0.3812, allocations: 0.9724 MB / 0.5469 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.3813, allocations: 76.67 kB / 0.547 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.954e-05/0.3814, allocations: 13.41 kB / 0.547 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.3815, allocations: 39.19 kB / 0.5471 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.505e-05/0.3816, allocations: 48.25 kB / 0.5471 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.3816, allocations: 2.906 kB / 0.5471 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003216/0.3849, allocations: 1.89 MB / 0.5489 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.393e-05/0.3849, allocations: 35.12 kB / 0.549 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.7e-05/0.385, allocations: 34.66 kB / 0.549 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00182/0.3868, allocations: 1.35 MB / 0.5503 GB, free: 10.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3868, allocations: 0 / 0.5503 GB, free: 10.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3868, allocations: 0 / 0.5503 GB, free: 10.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.3868, allocations: 1.344 kB / 0.5503 GB, free: 10.27 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007669/0.3876, allocations: 0.4939 MB / 0.5508 GB, free: 9.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.3876, allocations: 17.73 kB / 0.5508 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.219e-05/0.3877, allocations: 47.02 kB / 0.5509 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.536e-05/0.3877, allocations: 12.62 kB / 0.5509 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.3879, allocations: 152.8 kB / 0.551 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.3879, allocations: 1 kB / 0.551 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.3879, allocations: 0.9688 kB / 0.551 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002385/0.3882, allocations: 165.5 kB / 0.5512 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.3882, allocations: 0 / 0.5512 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.3882, allocations: 5.094 kB / 0.5512 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.3882, allocations: 3.938 kB / 0.5512 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.3884, allocations: 140 kB / 0.5513 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001768/0.3886, allocations: 157 kB / 0.5515 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.3887, allocations: 150.1 kB / 0.5516 GB, free: 9.137 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.3889, allocations: 135.6 kB / 0.5518 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.126e-06/0.3889, allocations: 0.9688 kB / 0.5518 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.3889, allocations: 32.69 kB / 0.5518 GB, free: 9.023 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.022e-06/0.3889, allocations: 0 / 0.5518 GB, free: 9.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006989/0.3896, allocations: 487.3 kB / 0.5523 GB, free: 8.773 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.235e-05/0.3897, allocations: 95.8 kB / 0.5523 GB, free: 8.676 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.3899, allocations: 154.2 kB / 0.5525 GB, free: 8.551 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.3899, allocations: 29.73 kB / 0.5525 GB, free: 8.516 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.12e-05/0.39, allocations: 97.23 kB / 0.5526 GB, free: 8.422 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.986e-05/0.39, allocations: 81.34 kB / 0.5527 GB, free: 8.352 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.165e-05/0.3901, allocations: 28.05 kB / 0.5527 GB, free: 8.328 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.3903, allocations: 333 kB / 0.553 GB, free: 8 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.3904, allocations: 130.3 kB / 0.5532 GB, free: 7.934 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.3906, allocations: 134.6 kB / 0.5533 GB, free: 7.867 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003399/0.3909, allocations: 302.1 kB / 0.5536 GB, free: 7.715 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3909, allocations: 0 / 0.5536 GB, free: 7.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004008/0.3913, allocations: 330.3 kB / 0.5539 GB, free: 7.535 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.362e-05/0.3914, allocations: 64.66 kB / 0.554 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3914, allocations: 5.062 kB / 0.554 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.3914, allocations: 0 / 0.554 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.114e-06/0.3914, allocations: 1.094 kB / 0.554 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.3914, allocations: 0 / 0.554 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.695e-05/0.3915, allocations: 13.55 kB / 0.554 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-05/0.3915, allocations: 9.641 kB / 0.554 GB, free: 7.473 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.0001928/0.3917, allocations: 195.7 kB / 0.5542 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/0.3917, allocations: 21.47 kB / 0.5542 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.04e-05/0.3918, allocations: 7.75 kB / 0.5542 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.3918, allocations: 5.078 kB / 0.5542 GB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3918, allocations: 4 kB / 0.5542 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.3918, allocations: 1.312 kB / 0.5542 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.392, allocations: 169.9 kB / 0.5544 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.392, allocations: 3.938 kB / 0.5544 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.92e-07/0.392, allocations: 1.188 kB / 0.5544 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.392, allocations: 0 / 0.5544 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.392, allocations: 9.578 kB / 0.5544 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.392, allocations: 4 kB / 0.5544 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.392, allocations: 0 / 0.5544 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006648/0.3926, allocations: 0.5285 MB / 0.5549 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.589e-05/0.3927, allocations: 23.73 kB / 0.5549 GB, free: 6.586 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/0.3927, allocations: 12.02 kB / 0.5549 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.1e-05/0.3927, allocations: 4 kB / 0.5549 GB, free: 6.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.92e-05/0.3928, allocations: 8 kB / 0.555 GB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.3928, allocations: 4 kB / 0.555 GB, free: 6.559 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.047e-05/0.3929, allocations: 115.2 kB / 0.5551 GB, free: 6.445 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3929, allocations: 0 / 0.5551 GB, free: 6.445 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001185/0.3941, allocations: 339.4 kB / 0.5554 GB, free: 6.113 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.001966/0.396, allocations: 1.332 MB / 0.5567 GB, free: 4.746 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006508/0.3967, allocations: 0.5103 MB / 0.5572 GB, free: 4.211 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3967, allocations: 0 / 0.5572 GB, free: 4.211 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003296/0.397, allocations: 301 kB / 0.5575 GB, free: 3.898 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.3972, allocations: 10.06 kB / 0.5575 GB, free: 3.891 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003528/0.4008, allocations: 2.99 MB / 0.5604 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.4009, allocations: 118.2 kB / 0.5605 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.436e-05/0.4009, allocations: 0 / 0.5605 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.6e-05/0.401, allocations: 35.42 kB / 0.5605 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of SimCode: time 7.91e-07/0.401, allocations: 0 / 0.5605 GB, free: 0.6133 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.0836606989614666] Failed to read output from testmodel.py, exit status != 0: 0.4412060920149088 0.456225843 0.06622763300000001 Calling exit ...