Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.001816/0.001816, 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.002294/0.002294, allocations: 215.7 kB / 23.75 MB, free: 4.668 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.634/1.634, allocations: 230.6 MB / 257.5 MB, free: 7.984 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.2055/0.2055, allocations: 38.53 MB / 352.5 MB, free: 12.49 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.TransDatFromEqCirc,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_TransDatFromEqCirc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,fileNamePrefix="PowerSystems_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.002083/0.002083, allocations: 71.89 kB / 492.6 MB, free: 4.832 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3699, allocations: 62.48 MB / 0.542 GB, free: 404 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.004017/0.374, allocations: 2.271 MB / 0.5442 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002135/0.3761, allocations: 1.107 MB / 0.5453 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.02e-05/0.3762, allocations: 0 / 0.5453 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001712/0.3763, allocations: 19.03 kB / 0.5453 GB, free: 13.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.3765, allocations: 55.94 kB / 0.5454 GB, free: 13.69 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.3777, allocations: 339.8 kB / 0.5457 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002192/0.3779, allocations: 119 kB / 0.5458 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.032e-05/0.378, allocations: 2.812 kB / 0.5458 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001869/0.3782, allocations: 55.81 kB / 0.5459 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.3783, allocations: 81.41 kB / 0.546 GB, free: 13.33 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.3783, allocations: 1.469 kB / 0.546 GB, free: 13.33 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001173/0.3795, allocations: 0.6528 MB / 0.5466 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.457e-05/0.3796, allocations: 37.7 kB / 0.5466 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.098e-05/0.3797, allocations: 39.83 kB / 0.5467 GB, free: 12.83 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009337/0.3806, allocations: 0.5427 MB / 0.5472 GB, free: 12.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3806, allocations: 0 / 0.5472 GB, free: 12.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3806, allocations: 0 / 0.5472 GB, free: 12.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.3806, allocations: 0 / 0.5472 GB, free: 12.52 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.0006253/0.3812, allocations: 403.3 kB / 0.5476 GB, free: 12.14 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/0.3813, allocations: 17.61 kB / 0.5476 GB, free: 12.13 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.43e-05/0.3814, allocations: 62.28 kB / 0.5477 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.298e-05/0.3814, allocations: 23.84 kB / 0.5477 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.3817, allocations: 136.5 kB / 0.5478 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.3817, allocations: 7.406 kB / 0.5478 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.3817, allocations: 8.719 kB / 0.5478 GB, free: 11.9 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002769/0.382, allocations: 140 kB / 0.548 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.382, allocations: 0 / 0.548 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.382, allocations: 1.219 kB / 0.548 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.382, allocations: 1.438 kB / 0.548 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.3822, allocations: 85.22 kB / 0.5481 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005174/0.3827, allocations: 326.1 kB / 0.5484 GB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.3828, allocations: 75.34 kB / 0.5484 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.945e-05/0.3829, allocations: 58.02 kB / 0.5485 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.3829, allocations: 0 / 0.5485 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.383, allocations: 43.59 kB / 0.5485 GB, free: 11.36 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 8.72e-07/0.383, allocations: 0 / 0.5485 GB, free: 11.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006426/0.3836, allocations: 290 kB / 0.5488 GB, free: 11.22 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.783e-05/0.3837, allocations: 95.84 kB / 0.5489 GB, free: 11.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.3839, allocations: 129.7 kB / 0.549 GB, free: 11.01 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.3839, allocations: 26.95 kB / 0.549 GB, free: 10.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.936e-05/0.384, allocations: 109.7 kB / 0.5492 GB, free: 10.87 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.682e-05/0.3841, allocations: 67.14 kB / 0.5492 GB, free: 10.81 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.329e-05/0.3841, allocations: 28.89 kB / 0.5492 GB, free: 10.79 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.3843, allocations: 326.6 kB / 0.5496 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.089e-05/0.3844, allocations: 60.78 kB / 0.5496 GB, free: 10.44 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.213e-05/0.3845, allocations: 60.25 kB / 0.5497 GB, free: 10.42 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002674/0.3847, allocations: 232.6 kB / 0.5499 GB, free: 10.29 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3847, allocations: 0 / 0.5499 GB, free: 10.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003058/0.385, allocations: 221 kB / 0.5501 GB, free: 10.17 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.526e-05/0.3851, allocations: 59.88 kB / 0.5502 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.3851, allocations: 0 / 0.5502 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.3851, allocations: 1.469 kB / 0.5502 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.3851, allocations: 0 / 0.5502 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.3851, allocations: 0 / 0.5502 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.691e-05/0.3852, allocations: 17.64 kB / 0.5502 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.3852, allocations: 5.469 kB / 0.5502 GB, free: 10.11 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.0001703/0.3854, allocations: 182.9 kB / 0.5504 GB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.171e-05/0.3854, allocations: 15.89 kB / 0.5504 GB, free: 9.938 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.123e-05/0.3855, allocations: 7.969 kB / 0.5504 GB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3855, allocations: 3.938 kB / 0.5504 GB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.3855, allocations: 5.688 kB / 0.5504 GB, free: 9.926 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3855, allocations: 3.938 kB / 0.5504 GB, free: 9.922 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/0.3857, allocations: 186.6 kB / 0.5506 GB, free: 9.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3857, allocations: 5.469 kB / 0.5506 GB, free: 9.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.515e-06/0.3857, allocations: 3.938 kB / 0.5506 GB, free: 9.715 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.3857, allocations: 0 / 0.5506 GB, free: 9.715 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.3857, allocations: 4.812 kB / 0.5506 GB, free: 9.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3857, allocations: 1.5 kB / 0.5506 GB, free: 9.715 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3857, allocations: 0 / 0.5506 GB, free: 9.715 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005531/0.3863, allocations: 456 kB / 0.551 GB, free: 9.434 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.629e-05/0.3863, allocations: 20.28 kB / 0.551 GB, free: 9.418 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/0.3864, allocations: 8.156 kB / 0.551 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.022e-05/0.3864, allocations: 3.25 kB / 0.5511 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.77e-05/0.3865, allocations: 6.156 kB / 0.5511 GB, free: 9.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.3865, allocations: 5.562 kB / 0.5511 GB, free: 9.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.658e-05/0.3865, allocations: 105.8 kB / 0.5512 GB, free: 9.324 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3865, allocations: 0 / 0.5512 GB, free: 9.324 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006164/0.3872, allocations: 139.7 kB / 0.5513 GB, free: 9.305 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.001604/0.3888, allocations: 1.244 MB / 0.5525 GB, free: 8.371 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004902/0.3893, allocations: 316.7 kB / 0.5528 GB, free: 8.211 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3893, allocations: 1.156 kB / 0.5528 GB, free: 8.211 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002324/0.3895, allocations: 210.7 kB / 0.553 GB, free: 8.086 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.3898, allocations: 17.05 kB / 0.553 GB, free: 8.082 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003052/0.3929, allocations: 2.456 MB / 0.5554 GB, free: 6.289 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003912/0.3933, allocations: 0.7314 MB / 0.5561 GB, free: 5.531 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.702e-05/0.3933, allocations: 0 / 0.5561 GB, free: 5.531 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.919e-05/0.3933, allocations: 39.42 kB / 0.5562 GB, free: 5.492 MB / 398.1 MB Notification: Performance of SimCode: time 1.203e-06/0.3933, allocations: 0 / 0.5562 GB, free: 5.492 MB / 398.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.2338091929996153] Failed to read output from testmodel.py, exit status != 0: 0.4248066079962882 0.442967089 0.058670401000000004 Calling exit ...