Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.002291/0.002291, 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.002458/0.002458, allocations: 209.2 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.51/1.51, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.183/0.183, allocations: 38.57 MB / 352.5 MB, free: 12.29 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_matrixTrDat3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,fileNamePrefix="PowerSystems_latest_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.003034/0.003034, allocations: 59.91 kB / 492.5 MB, free: 4.668 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3769, allocations: 62.47 MB / 0.542 GB, free: 248 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.003944/0.3809, allocations: 2.202 MB / 0.5441 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003364/0.3842, allocations: 1.895 MB / 0.546 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.492e-05/0.3843, allocations: 1.219 kB / 0.546 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.3844, allocations: 13 kB / 0.546 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.734e-05/0.3845, allocations: 26.84 kB / 0.546 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00259/0.3871, allocations: 0.9617 MB / 0.5469 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.3873, allocations: 75.8 kB / 0.547 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.517e-05/0.3873, allocations: 15.38 kB / 0.547 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.3875, allocations: 33.56 kB / 0.547 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.815e-05/0.3876, allocations: 54.44 kB / 0.5471 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.3876, allocations: 3.344 kB / 0.5471 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003256/0.3908, allocations: 1.898 MB / 0.549 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.715e-05/0.3909, allocations: 42.97 kB / 0.549 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.059e-05/0.391, allocations: 45.22 kB / 0.549 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00198/0.393, allocations: 1.384 MB / 0.5504 GB, free: 10.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.393, allocations: 5.422 kB / 0.5504 GB, free: 10.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.393, allocations: 0 / 0.5504 GB, free: 10.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.393, allocations: 0 / 0.5504 GB, free: 10.24 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.0008081/0.3938, allocations: 0.5435 MB / 0.5509 GB, free: 9.758 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.3938, allocations: 13.45 kB / 0.5509 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.946e-05/0.3939, allocations: 50.11 kB / 0.551 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.69e-05/0.3939, allocations: 18.52 kB / 0.551 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.3941, allocations: 161.7 kB / 0.5512 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.772e-06/0.3942, allocations: 1.156 kB / 0.5512 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.3942, allocations: 1.188 kB / 0.5512 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003215/0.3945, allocations: 234.7 kB / 0.5514 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.3945, allocations: 9.281 kB / 0.5514 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.3945, allocations: 0 / 0.5514 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3945, allocations: 0 / 0.5514 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002097/0.3947, allocations: 196.4 kB / 0.5516 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002043/0.3949, allocations: 185.6 kB / 0.5518 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002577/0.3952, allocations: 211.1 kB / 0.552 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/0.3954, allocations: 208.9 kB / 0.5522 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-06/0.3954, allocations: 1.469 kB / 0.5522 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.3954, allocations: 31.94 kB / 0.5522 GB, free: 8.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 1.092e-06/0.3954, allocations: 0 / 0.5522 GB, free: 8.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.0009485/0.3964, allocations: 0.7345 MB / 0.5529 GB, free: 8.496 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.962e-05/0.3965, allocations: 108 kB / 0.553 GB, free: 8.395 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.3966, allocations: 168.7 kB / 0.5532 GB, free: 8.262 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.3966, allocations: 26.8 kB / 0.5532 GB, free: 8.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.991e-05/0.3967, allocations: 106.3 kB / 0.5533 GB, free: 8.125 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.3968, allocations: 138.6 kB / 0.5534 GB, free: 8.004 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.843e-05/0.3969, allocations: 36.17 kB / 0.5535 GB, free: 7.977 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.3971, allocations: 339.6 kB / 0.5538 GB, free: 7.645 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.3973, allocations: 195.8 kB / 0.554 GB, free: 7.555 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.3975, allocations: 199.9 kB / 0.5542 GB, free: 7.461 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004893/0.398, allocations: 468.4 kB / 0.5546 GB, free: 6.996 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.398, allocations: 0 / 0.5546 GB, free: 6.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005664/0.3985, allocations: 484.7 kB / 0.5551 GB, free: 6.504 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.3986, allocations: 85.62 kB / 0.5552 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3986, allocations: 0 / 0.5552 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.3987, allocations: 4.062 kB / 0.5552 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.679e-06/0.3987, allocations: 7.938 kB / 0.5552 GB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.3987, allocations: 0 / 0.5552 GB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.236e-05/0.3988, allocations: 15.89 kB / 0.5552 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/0.3988, allocations: 8 kB / 0.5552 GB, free: 6.379 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.0002549/0.399, allocations: 235.4 kB / 0.5554 GB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.839e-05/0.3991, allocations: 23.86 kB / 0.5554 GB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.442e-05/0.3991, allocations: 18.64 kB / 0.5555 GB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3991, allocations: 0 / 0.5555 GB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3991, allocations: 4 kB / 0.5555 GB, free: 6.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3991, allocations: 4 kB / 0.5555 GB, free: 6.086 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.3993, allocations: 196.4 kB / 0.5557 GB, free: 5.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3993, allocations: 0 / 0.5557 GB, free: 5.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.42e-07/0.3993, allocations: 0 / 0.5557 GB, free: 5.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.3993, allocations: 0 / 0.5557 GB, free: 5.852 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.3993, allocations: 11.94 kB / 0.5557 GB, free: 5.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3993, allocations: 0 / 0.5557 GB, free: 5.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.3993, allocations: 3.938 kB / 0.5557 GB, free: 5.836 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.4004, allocations: 0.7928 MB / 0.5564 GB, free: 5.012 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.118e-05/0.4004, allocations: 27.8 kB / 0.5565 GB, free: 4.984 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/0.4004, allocations: 8 kB / 0.5565 GB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.226e-05/0.4005, allocations: 8.031 kB / 0.5565 GB, free: 4.969 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.4005, allocations: 8 kB / 0.5565 GB, free: 4.961 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.4005, allocations: 8 kB / 0.5565 GB, free: 4.953 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001153/0.4007, allocations: 128.2 kB / 0.5566 GB, free: 4.828 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4007, allocations: 0 / 0.5566 GB, free: 4.828 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001299/0.402, allocations: 363.3 kB / 0.557 GB, free: 4.473 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.002303/0.4043, allocations: 1.606 MB / 0.5585 GB, free: 2.824 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009692/0.4052, allocations: 0.7719 MB / 0.5593 GB, free: 2.027 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.4052, allocations: 0 / 0.5593 GB, free: 2.027 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005075/0.4057, allocations: 444.8 kB / 0.5597 GB, free: 1.574 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.406, allocations: 26.78 kB / 0.5597 GB, free: 1.551 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004813/0.4108, allocations: 3.999 MB / 0.5636 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001473/0.4109, allocations: 144 kB / 0.5638 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.552e-05/0.411, allocations: 4.156 kB / 0.5638 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.975e-05/0.411, allocations: 47.41 kB / 0.5638 GB, free: 13.21 MB / 414.1 MB Notification: Performance of SimCode: time 1.292e-06/0.411, allocations: 0 / 0.5638 GB, free: 13.21 MB / 414.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.175703363958746] Failed to read output from testmodel.py, exit status != 0: 0.4509269497357309 0.46667665 0.07047911500000001 Calling exit ...