Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.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.001849/0.001849, 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.002316/0.002316, allocations: 212 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.562/1.562, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.1858/0.1858, 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 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.TransDatFromEqCirc,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_TransDatFromEqCirc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_TransDatFromEqCirc",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.002509/0.002509, allocations: 79.88 kB / 492.5 MB, free: 4.664 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.3992, allocations: 62.46 MB / 0.542 GB, free: 240 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.005918/0.4051, allocations: 2.232 MB / 0.5441 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002437/0.4076, allocations: 1.015 MB / 0.5451 GB, free: 13.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.206e-05/0.4076, allocations: 1.344 kB / 0.5451 GB, free: 13.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001571/0.4078, allocations: 14.56 kB / 0.5451 GB, free: 13.72 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001802/0.408, allocations: 56.94 kB / 0.5452 GB, free: 13.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.4095, allocations: 332.6 kB / 0.5455 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002429/0.4097, allocations: 119.8 kB / 0.5456 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.614e-05/0.4098, allocations: 2.719 kB / 0.5456 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.41, allocations: 59.23 kB / 0.5457 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.4102, allocations: 76.97 kB / 0.5458 GB, free: 13.33 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.4102, allocations: 2.406 kB / 0.5458 GB, free: 13.33 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/0.4114, allocations: 0.5595 MB / 0.5463 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.922e-05/0.4115, allocations: 37.67 kB / 0.5463 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.765e-05/0.4116, allocations: 35.39 kB / 0.5464 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000874/0.4124, allocations: 0.5266 MB / 0.5469 GB, free: 12.61 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4124, allocations: 0 / 0.5469 GB, free: 12.61 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.4125, allocations: 1.438 kB / 0.5469 GB, free: 12.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.4125, allocations: 0 / 0.5469 GB, free: 12.61 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006646/0.4131, allocations: 400.6 kB / 0.5473 GB, free: 12.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.4132, allocations: 13.92 kB / 0.5473 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001109/0.4133, allocations: 66.47 kB / 0.5474 GB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.219e-05/0.4133, allocations: 19.33 kB / 0.5474 GB, free: 12.15 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.4136, allocations: 138.6 kB / 0.5475 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.4136, allocations: 7.625 kB / 0.5475 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.4137, allocations: 9.188 kB / 0.5475 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003808/0.414, allocations: 190.8 kB / 0.5477 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.414, allocations: 3.938 kB / 0.5477 GB, free: 11.87 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.4141, allocations: 6.156 kB / 0.5477 GB, free: 11.87 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.4141, allocations: 5.219 kB / 0.5477 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002412/0.4143, allocations: 144.2 kB / 0.5479 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005607/0.4149, allocations: 309.8 kB / 0.5482 GB, free: 11.49 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002278/0.4151, allocations: 140.6 kB / 0.5483 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.4153, allocations: 119.1 kB / 0.5484 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.082e-06/0.4153, allocations: 0 / 0.5484 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/0.4153, allocations: 37.16 kB / 0.5484 GB, free: 11.28 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.162e-06/0.4153, allocations: 0 / 0.5484 GB, free: 11.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.0008438/0.4162, allocations: 422.1 kB / 0.5488 GB, free: 11.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.886e-05/0.4163, allocations: 96.83 kB / 0.5489 GB, free: 10.94 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.4164, allocations: 133.8 kB / 0.5491 GB, free: 10.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.4164, allocations: 31.14 kB / 0.5491 GB, free: 10.79 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.43e-05/0.4165, allocations: 113.7 kB / 0.5492 GB, free: 10.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.65e-05/0.4166, allocations: 63.45 kB / 0.5493 GB, free: 10.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.816e-05/0.4167, allocations: 28.08 kB / 0.5493 GB, free: 10.6 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.4168, allocations: 322.9 kB / 0.5496 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.417, allocations: 112.5 kB / 0.5497 GB, free: 10.22 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.4172, allocations: 117.8 kB / 0.5498 GB, free: 10.15 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003922/0.4176, allocations: 266.7 kB / 0.5501 GB, free: 10 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4176, allocations: 5.25 kB / 0.5501 GB, free: 9.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004661/0.4181, allocations: 297.8 kB / 0.5504 GB, free: 9.816 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.832e-05/0.4182, allocations: 60.16 kB / 0.5504 GB, free: 9.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.4182, allocations: 4.938 kB / 0.5504 GB, free: 9.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.4182, allocations: 0 / 0.5504 GB, free: 9.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.4182, allocations: 0.9062 kB / 0.5504 GB, free: 9.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.4182, allocations: 0 / 0.5504 GB, free: 9.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.817e-05/0.4183, allocations: 13.08 kB / 0.5504 GB, free: 9.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/0.4183, allocations: 6.531 kB / 0.5504 GB, free: 9.758 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.0002347/0.4186, allocations: 183 kB / 0.5506 GB, free: 9.594 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.004e-05/0.4186, allocations: 16.11 kB / 0.5506 GB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.886e-05/0.4186, allocations: 8.844 kB / 0.5506 GB, free: 9.582 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.4186, allocations: 0 / 0.5506 GB, free: 9.582 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4186, allocations: 4 kB / 0.5506 GB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.4186, allocations: 1.094 kB / 0.5506 GB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003098/0.419, allocations: 179.5 kB / 0.5508 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.419, allocations: 0 / 0.5508 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.669e-06/0.419, allocations: 3.938 kB / 0.5508 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.419, allocations: 1.125 kB / 0.5508 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.419, allocations: 4.656 kB / 0.5508 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.419, allocations: 0 / 0.5508 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.419, allocations: 4.906 kB / 0.5508 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009027/0.4199, allocations: 0.5142 MB / 0.5513 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.269e-05/0.4199, allocations: 20.16 kB / 0.5513 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/0.42, allocations: 8.156 kB / 0.5514 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.4201, allocations: 3.219 kB / 0.5514 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.4201, allocations: 15.27 kB / 0.5514 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/0.4201, allocations: 5.812 kB / 0.5514 GB, free: 9.012 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001259/0.4203, allocations: 106 kB / 0.5515 GB, free: 8.926 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4203, allocations: 0 / 0.5515 GB, free: 8.926 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009793/0.4212, allocations: 138.5 kB / 0.5516 GB, free: 8.906 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.002256/0.4235, allocations: 1.372 MB / 0.5529 GB, free: 7.879 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007399/0.4242, allocations: 442.9 kB / 0.5534 GB, free: 7.617 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4242, allocations: 0 / 0.5534 GB, free: 7.617 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003914/0.4246, allocations: 260 kB / 0.5536 GB, free: 7.453 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004893/0.4251, allocations: 25.44 kB / 0.5536 GB, free: 7.441 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004189/0.4293, allocations: 2.775 MB / 0.5564 GB, free: 4.957 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00018/0.4295, allocations: 121.2 kB / 0.5565 GB, free: 4.816 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.522e-05/0.4295, allocations: 0 / 0.5565 GB, free: 4.816 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.709e-05/0.4296, allocations: 31.42 kB / 0.5565 GB, free: 4.785 MB / 398.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4296, allocations: 0 / 0.5565 GB, free: 4.785 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.2199065717868507] Failed to read output from testmodel.py, exit status != 0: 0.46840117406100035 0.48638392599999997 0.070690923 Calling exit ...