Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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.00141/0.00141, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.00191/0.00191, allocations: 211.3 kB / 23.74 MB, free: 4.672 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.497/1.497, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.1966/0.1966, allocations: 38.52 MB / 352.5 MB, free: 12.51 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_matrixTrDat3,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",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.003438/0.003438, allocations: 59.91 kB / 492.5 MB, free: 4.855 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4037, allocations: 62.47 MB / 0.542 GB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.003975/0.4077, allocations: 2.224 MB / 0.5442 GB, free: 14.67 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003765/0.4115, allocations: 2.103 MB / 0.5462 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.139e-05/0.4116, allocations: 0 / 0.5462 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001491/0.4117, allocations: 14.08 kB / 0.5462 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.4118, allocations: 26.52 kB / 0.5463 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003294/0.4151, allocations: 0.9843 MB / 0.5472 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.4153, allocations: 75.97 kB / 0.5473 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.545e-05/0.4154, allocations: 18.22 kB / 0.5473 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.4156, allocations: 43.05 kB / 0.5474 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.4157, allocations: 53.69 kB / 0.5474 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.4157, allocations: 2.438 kB / 0.5474 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004379/0.4201, allocations: 2.235 MB / 0.5496 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.4202, allocations: 47.77 kB / 0.5496 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.4203, allocations: 52.41 kB / 0.5497 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003209/0.4235, allocations: 1.424 MB / 0.5511 GB, free: 9.812 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.4235, allocations: 0 / 0.5511 GB, free: 9.812 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4235, allocations: 0 / 0.5511 GB, free: 9.812 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.473e-05/0.4236, allocations: 3.938 kB / 0.5511 GB, free: 9.809 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001137/0.4247, allocations: 0.5408 MB / 0.5516 GB, free: 9.332 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.843e-05/0.4248, allocations: 13.02 kB / 0.5516 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.686e-05/0.4248, allocations: 56.55 kB / 0.5517 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.495e-05/0.4249, allocations: 23.48 kB / 0.5517 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.4251, allocations: 153.3 kB / 0.5519 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.4251, allocations: 0 / 0.5519 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.4252, allocations: 1.094 kB / 0.5519 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.4255, allocations: 135.8 kB / 0.552 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.4255, allocations: 0 / 0.552 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.4255, allocations: 5.031 kB / 0.552 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.4255, allocations: 0 / 0.552 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.4256, allocations: 97.28 kB / 0.5521 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002372/0.4259, allocations: 187.7 kB / 0.5523 GB, free: 8.781 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.426, allocations: 115 kB / 0.5524 GB, free: 8.727 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.4262, allocations: 99.94 kB / 0.5525 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.766e-06/0.4262, allocations: 1.188 kB / 0.5525 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.4262, allocations: 31.78 kB / 0.5525 GB, free: 8.648 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 1.133e-06/0.4262, allocations: 0 / 0.5525 GB, free: 8.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.0007984/0.427, allocations: 0.493 MB / 0.553 GB, free: 8.449 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.942e-05/0.4271, allocations: 112 kB / 0.5531 GB, free: 8.344 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.4273, allocations: 168.7 kB / 0.5532 GB, free: 8.211 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.4273, allocations: 25.7 kB / 0.5533 GB, free: 8.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.236e-05/0.4274, allocations: 106.2 kB / 0.5534 GB, free: 8.074 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.4275, allocations: 139 kB / 0.5535 GB, free: 7.953 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-05/0.4276, allocations: 36.83 kB / 0.5535 GB, free: 7.926 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.4278, allocations: 338.2 kB / 0.5539 GB, free: 7.594 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.4279, allocations: 99.27 kB / 0.554 GB, free: 7.559 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.428, allocations: 100.5 kB / 0.5541 GB, free: 7.523 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004191/0.4284, allocations: 384.4 kB / 0.5544 GB, free: 7.348 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4284, allocations: 0 / 0.5544 GB, free: 7.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004309/0.4289, allocations: 335.8 kB / 0.5547 GB, free: 7.195 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.429, allocations: 92.16 kB / 0.5548 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.429, allocations: 0 / 0.5548 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.429, allocations: 0 / 0.5548 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.152e-06/0.429, allocations: 0 / 0.5548 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.429, allocations: 0 / 0.5548 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.568e-05/0.4291, allocations: 15.95 kB / 0.5548 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.4291, allocations: 19.94 kB / 0.5549 GB, free: 7.086 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.0002422/0.4294, allocations: 231.4 kB / 0.5551 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.235e-05/0.4294, allocations: 27.86 kB / 0.5551 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.698e-05/0.4294, allocations: 18.64 kB / 0.5551 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.4294, allocations: 3.938 kB / 0.5551 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4294, allocations: 0 / 0.5551 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.4294, allocations: 0 / 0.5551 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002191/0.4297, allocations: 212.4 kB / 0.5553 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4297, allocations: 0 / 0.5553 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.4297, allocations: 4 kB / 0.5553 GB, free: 6.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.4297, allocations: 4 kB / 0.5553 GB, free: 6.539 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.4297, allocations: 4 kB / 0.5553 GB, free: 6.535 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.4297, allocations: 7.938 kB / 0.5554 GB, free: 6.527 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.4297, allocations: 4 kB / 0.5554 GB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.4308, allocations: 0.9199 MB / 0.5563 GB, free: 5.578 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.478e-05/0.4309, allocations: 23.8 kB / 0.5563 GB, free: 5.555 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.84e-05/0.4309, allocations: 4 kB / 0.5563 GB, free: 5.551 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.668e-05/0.431, allocations: 12.03 kB / 0.5563 GB, free: 5.539 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.431, allocations: 4 kB / 0.5563 GB, free: 5.535 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/0.431, allocations: 12 kB / 0.5563 GB, free: 5.523 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001118/0.4311, allocations: 128.2 kB / 0.5564 GB, free: 5.398 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4311, allocations: 0 / 0.5564 GB, free: 5.398 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001326/0.4325, allocations: 359.3 kB / 0.5568 GB, free: 5.047 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.00273/0.4352, allocations: 1.733 MB / 0.5585 GB, free: 3.273 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001039/0.4362, allocations: 0.8309 MB / 0.5593 GB, free: 2.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4362, allocations: 0 / 0.5593 GB, free: 2.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006372/0.4369, allocations: 0.6006 MB / 0.5599 GB, free: 1.816 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.4371, allocations: 18.22 kB / 0.5599 GB, free: 1.801 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004569/0.4417, allocations: 3.694 MB / 0.5635 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004242/0.4421, allocations: 0.7516 MB / 0.5642 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.555e-05/0.4421, allocations: 4 kB / 0.5642 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.196e-05/0.4422, allocations: 43.42 kB / 0.5643 GB, free: 13.19 MB / 414.1 MB Notification: Performance of SimCode: time 7.42e-07/0.4422, allocations: 0 / 0.5643 GB, free: 13.19 MB / 414.1 MB [CodegenCFunctions.tpl:5647:13-5647: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.1318078758195043] Failed to read output from testmodel.py, exit status != 0: 0.48409350612200797 0.5090807039999999 0.08007586400000001 Calling exit ...