Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.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.001873/0.001873, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002292/0.002292, allocations: 211.1 kB / 23.73 MB, free: 4.523 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.612/1.612, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.1891/0.1891, 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 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.EqCircFromTransDat,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat",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.003122/0.003122, allocations: 63.91 kB / 492.5 MB, free: 4.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.377, allocations: 62.46 MB / 0.5419 GB, free: 268 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.003934/0.3809, allocations: 2.239 MB / 0.5441 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003184/0.3841, allocations: 1.902 MB / 0.546 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.76e-05/0.3841, allocations: 1.125 kB / 0.546 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001255/0.3843, allocations: 14.06 kB / 0.546 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.3844, allocations: 41.16 kB / 0.546 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002505/0.3869, allocations: 0.9619 MB / 0.547 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.387, allocations: 94.3 kB / 0.5471 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.5e-05/0.3871, allocations: 15.16 kB / 0.5471 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.3872, allocations: 46.72 kB / 0.5471 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.3873, allocations: 66.19 kB / 0.5472 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.3873, allocations: 2.531 kB / 0.5472 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003134/0.3905, allocations: 2.004 MB / 0.5492 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.29e-05/0.3905, allocations: 27.22 kB / 0.5492 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.995e-05/0.3906, allocations: 30.47 kB / 0.5492 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001725/0.3923, allocations: 1.33 MB / 0.5505 GB, free: 10.12 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3923, allocations: 1 kB / 0.5505 GB, free: 10.12 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3923, allocations: 0 / 0.5505 GB, free: 10.12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.3923, allocations: 0 / 0.5505 GB, free: 10.12 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006751/0.393, allocations: 488.8 kB / 0.551 GB, free: 9.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.393, allocations: 13.39 kB / 0.551 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.253e-05/0.3931, allocations: 65.81 kB / 0.5511 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.146e-05/0.3932, allocations: 20.73 kB / 0.5511 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.3934, allocations: 151 kB / 0.5512 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.3934, allocations: 10.91 kB / 0.5512 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.3934, allocations: 8.359 kB / 0.5512 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002445/0.3936, allocations: 175.3 kB / 0.5514 GB, free: 9.316 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.3937, allocations: 0 / 0.5514 GB, free: 9.316 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.3937, allocations: 4.938 kB / 0.5514 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-06/0.3937, allocations: 2.344 kB / 0.5514 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.3938, allocations: 123.6 kB / 0.5515 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004608/0.3943, allocations: 318.1 kB / 0.5518 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.3944, allocations: 113.1 kB / 0.5519 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.3945, allocations: 93.64 kB / 0.552 GB, free: 8.797 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.3946, allocations: 0 / 0.552 GB, free: 8.797 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.3946, allocations: 31.94 kB / 0.5521 GB, free: 8.758 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 9.42e-07/0.3946, allocations: 1.375 kB / 0.5521 GB, free: 8.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004532/0.395, allocations: 333.1 kB / 0.5524 GB, free: 8.551 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.298e-05/0.3951, allocations: 89.3 kB / 0.5525 GB, free: 8.453 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.3952, allocations: 147.7 kB / 0.5526 GB, free: 8.332 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.3953, allocations: 27.08 kB / 0.5526 GB, free: 8.301 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.71e-05/0.3953, allocations: 130.5 kB / 0.5528 GB, free: 8.176 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.642e-05/0.3954, allocations: 48.42 kB / 0.5528 GB, free: 8.133 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/0.3954, allocations: 18.12 kB / 0.5528 GB, free: 8.117 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.3956, allocations: 327.5 kB / 0.5531 GB, free: 7.793 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.707e-05/0.3957, allocations: 84.56 kB / 0.5532 GB, free: 7.742 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.3958, allocations: 90.16 kB / 0.5533 GB, free: 7.688 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/0.396, allocations: 200.2 kB / 0.5535 GB, free: 7.566 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.396, allocations: 1.25 kB / 0.5535 GB, free: 7.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002827/0.3963, allocations: 244.5 kB / 0.5537 GB, free: 7.406 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.012e-05/0.3963, allocations: 51.61 kB / 0.5538 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.3963, allocations: 0 / 0.5538 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.3963, allocations: 64 / 0.5538 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.525e-06/0.3963, allocations: 9.125 kB / 0.5538 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.3963, allocations: 0 / 0.5538 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.311e-05/0.3964, allocations: 11.17 kB / 0.5538 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.3964, allocations: 5.375 kB / 0.5538 GB, free: 7.352 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.000145/0.3966, allocations: 177.3 kB / 0.554 GB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.219e-05/0.3966, allocations: 11.67 kB / 0.554 GB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.441e-05/0.3966, allocations: 15.86 kB / 0.554 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3966, allocations: 0 / 0.554 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.3966, allocations: 0.9375 kB / 0.554 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.3966, allocations: 0 / 0.554 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.3968, allocations: 175.3 kB / 0.5542 GB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3968, allocations: 1.031 kB / 0.5542 GB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.12e-07/0.3968, allocations: 0 / 0.5542 GB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3968, allocations: 1.156 kB / 0.5542 GB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.3969, allocations: 7.562 kB / 0.5542 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3969, allocations: 0 / 0.5542 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3969, allocations: 1.156 kB / 0.5542 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004385/0.3973, allocations: 420.1 kB / 0.5546 GB, free: 6.684 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.057e-05/0.3973, allocations: 11.2 kB / 0.5546 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.3973, allocations: 3.25 kB / 0.5546 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.851e-05/0.3974, allocations: 2.125 kB / 0.5546 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.12e-05/0.3974, allocations: 10.08 kB / 0.5546 GB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.3974, allocations: 5.469 kB / 0.5546 GB, free: 6.668 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.114e-05/0.3975, allocations: 115 kB / 0.5547 GB, free: 6.578 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3975, allocations: 0 / 0.5547 GB, free: 6.578 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008931/0.3984, allocations: 344 kB / 0.555 GB, free: 6.477 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.001838/0.4003, allocations: 1.388 MB / 0.5564 GB, free: 5.047 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000417/0.4007, allocations: 326.7 kB / 0.5567 GB, free: 4.703 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4007, allocations: 0 / 0.5567 GB, free: 4.703 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002097/0.4009, allocations: 197 kB / 0.5569 GB, free: 4.492 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.4012, allocations: 18.05 kB / 0.5569 GB, free: 4.477 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002885/0.4041, allocations: 2.563 MB / 0.5594 GB, free: 1.805 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.4042, allocations: 125.2 kB / 0.5595 GB, free: 1.664 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.331e-05/0.4043, allocations: 7.984 kB / 0.5595 GB, free: 1.656 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.817e-05/0.4043, allocations: 31.44 kB / 0.5596 GB, free: 1.625 MB / 398.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4043, allocations: 0 / 0.5596 GB, free: 1.625 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.187485860020388] Failed to read output from testmodel.py, exit status != 0: 0.44079636700917035 0.455417276 0.05990097900000001 Calling exit ...