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.001282/0.001282, 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.001415/0.001415, allocations: 214.3 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.812 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.1933/0.1933, allocations: 38.56 MB / 352.5 MB, free: 12.32 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.002099/0.002099, allocations: 63.91 kB / 492.5 MB, free: 4.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3683, allocations: 62.47 MB / 0.542 GB, free: 264 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.004339/0.3726, allocations: 2.235 MB / 0.5441 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002203/0.3748, allocations: 1.021 MB / 0.5451 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.174e-05/0.3749, allocations: 0 / 0.5451 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001562/0.375, allocations: 14.66 kB / 0.5451 GB, free: 13.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001457/0.3752, allocations: 56.73 kB / 0.5452 GB, free: 13.69 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.3764, allocations: 334 kB / 0.5455 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.3766, allocations: 114.7 kB / 0.5456 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.783e-05/0.3767, allocations: 2.781 kB / 0.5456 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.3769, allocations: 62.81 kB / 0.5457 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.377, allocations: 72.98 kB / 0.5458 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.377, allocations: 3.5 kB / 0.5458 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009994/0.378, allocations: 0.559 MB / 0.5463 GB, free: 12.97 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.526e-05/0.3781, allocations: 37.7 kB / 0.5463 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.137e-05/0.3782, allocations: 36.3 kB / 0.5464 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008273/0.379, allocations: 0.5333 MB / 0.5469 GB, free: 12.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.902e-06/0.379, allocations: 1.125 kB / 0.5469 GB, free: 12.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.379, allocations: 3.938 kB / 0.5469 GB, free: 12.62 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.379, allocations: 0 / 0.5469 GB, free: 12.62 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.0006303/0.3796, allocations: 392.9 kB / 0.5473 GB, free: 12.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.06e-05/0.3797, allocations: 13.83 kB / 0.5473 GB, free: 12.24 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.881e-05/0.3798, allocations: 62.77 kB / 0.5474 GB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.087e-05/0.3799, allocations: 14.75 kB / 0.5474 GB, free: 12.17 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.3801, allocations: 145.6 kB / 0.5475 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.3802, allocations: 4.531 kB / 0.5475 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.1e-05/0.3802, allocations: 12.84 kB / 0.5475 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003396/0.3805, allocations: 190.8 kB / 0.5477 GB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.3805, allocations: 4 kB / 0.5477 GB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.3806, allocations: 5.469 kB / 0.5477 GB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.3806, allocations: 6.484 kB / 0.5477 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002084/0.3808, allocations: 147.6 kB / 0.5479 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004987/0.3813, allocations: 313.7 kB / 0.5482 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.3814, allocations: 136.8 kB / 0.5483 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.3816, allocations: 121.5 kB / 0.5484 GB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.17e-06/0.3816, allocations: 0 / 0.5484 GB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.3816, allocations: 36.56 kB / 0.5484 GB, free: 11.29 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.062e-06/0.3816, allocations: 0 / 0.5484 GB, free: 11.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006963/0.3823, allocations: 426.3 kB / 0.5488 GB, free: 11.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.962e-05/0.3824, allocations: 92.73 kB / 0.5489 GB, free: 10.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.3825, allocations: 134.8 kB / 0.5491 GB, free: 10.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.3826, allocations: 25.7 kB / 0.5491 GB, free: 10.8 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.554e-05/0.3827, allocations: 109.9 kB / 0.5492 GB, free: 10.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.671e-05/0.3827, allocations: 64.19 kB / 0.5493 GB, free: 10.64 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/0.3828, allocations: 27.58 kB / 0.5493 GB, free: 10.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.383, allocations: 327.6 kB / 0.5496 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.3831, allocations: 112.2 kB / 0.5497 GB, free: 10.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.3832, allocations: 119.9 kB / 0.5498 GB, free: 10.17 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003489/0.3836, allocations: 264.2 kB / 0.5501 GB, free: 10.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3836, allocations: 0 / 0.5501 GB, free: 10.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003833/0.384, allocations: 298.5 kB / 0.5504 GB, free: 9.836 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.028e-05/0.384, allocations: 61.66 kB / 0.5504 GB, free: 9.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.3841, allocations: 0 / 0.5504 GB, free: 9.789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.3841, allocations: 0 / 0.5504 GB, free: 9.789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.3841, allocations: 0 / 0.5504 GB, free: 9.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.3841, allocations: 5.406 kB / 0.5504 GB, free: 9.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.632e-05/0.3841, allocations: 13.14 kB / 0.5504 GB, free: 9.777 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/0.3842, allocations: 5.719 kB / 0.5504 GB, free: 9.777 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.0001693/0.3843, allocations: 182.4 kB / 0.5506 GB, free: 9.613 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/0.3844, allocations: 17.14 kB / 0.5506 GB, free: 9.605 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.844e-05/0.3844, allocations: 11.56 kB / 0.5506 GB, free: 9.598 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3844, allocations: 0 / 0.5506 GB, free: 9.598 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3844, allocations: 0.75 kB / 0.5506 GB, free: 9.598 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3844, allocations: 1.25 kB / 0.5506 GB, free: 9.598 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.3846, allocations: 178.5 kB / 0.5508 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3846, allocations: 5.062 kB / 0.5508 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.585e-06/0.3846, allocations: 7.875 kB / 0.5508 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3846, allocations: 0 / 0.5508 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.3847, allocations: 5.469 kB / 0.5508 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3847, allocations: 0 / 0.5508 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3847, allocations: 0.9062 kB / 0.5508 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000622/0.3853, allocations: 0.5141 MB / 0.5513 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.423e-05/0.3853, allocations: 20.06 kB / 0.5513 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.3853, allocations: 4.312 kB / 0.5514 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.298e-05/0.3854, allocations: 7.812 kB / 0.5514 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.3854, allocations: 6.594 kB / 0.5514 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.3855, allocations: 9.594 kB / 0.5514 GB, free: 9.031 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.149e-05/0.3855, allocations: 105.8 kB / 0.5515 GB, free: 8.945 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3855, allocations: 0 / 0.5515 GB, free: 8.945 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000702/0.3862, allocations: 139.8 kB / 0.5516 GB, free: 8.926 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.001638/0.3879, allocations: 1.367 MB / 0.5529 GB, free: 7.902 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005725/0.3884, allocations: 435.8 kB / 0.5534 GB, free: 7.648 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3884, allocations: 0 / 0.5534 GB, free: 7.648 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002758/0.3887, allocations: 258.7 kB / 0.5536 GB, free: 7.484 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.389, allocations: 26.2 kB / 0.5536 GB, free: 7.473 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003288/0.3923, allocations: 2.78 MB / 0.5563 GB, free: 4.984 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.3924, allocations: 117.1 kB / 0.5565 GB, free: 4.848 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.905e-05/0.3925, allocations: 0 / 0.5565 GB, free: 4.848 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.979e-05/0.3925, allocations: 35.45 kB / 0.5565 GB, free: 4.812 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3925, allocations: 0 / 0.5565 GB, free: 4.812 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.1166194919496775] Failed to read output from testmodel.py, exit status != 0: 0.4222926376387477 0.43727704900000003 0.05509155 Calling exit ...