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.001408/0.001408, 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.001621/0.001621, allocations: 210.7 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.502/1.502, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2006/0.2006, allocations: 38.55 MB / 352.5 MB, free: 12.3 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.002245/0.002245, allocations: 71.89 kB / 492.5 MB, free: 4.672 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3467, allocations: 62.47 MB / 0.542 GB, free: 228 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.003723/0.3504, allocations: 2.233 MB / 0.5441 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001737/0.3522, allocations: 1.025 MB / 0.5451 GB, free: 13.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.924e-05/0.3522, allocations: 0 / 0.5451 GB, free: 13.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.3523, allocations: 13.7 kB / 0.5452 GB, free: 13.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.3525, allocations: 52.5 kB / 0.5452 GB, free: 13.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.3535, allocations: 334.2 kB / 0.5455 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.3537, allocations: 114.7 kB / 0.5456 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.134e-05/0.3537, allocations: 2.75 kB / 0.5456 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.3539, allocations: 59.25 kB / 0.5457 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.354, allocations: 73.36 kB / 0.5458 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.354, allocations: 10.22 kB / 0.5458 GB, free: 13.31 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008904/0.3549, allocations: 0.5592 MB / 0.5463 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.083e-05/0.3549, allocations: 38.47 kB / 0.5464 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.61e-05/0.355, allocations: 39.44 kB / 0.5464 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007694/0.3558, allocations: 0.5259 MB / 0.5469 GB, free: 12.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3558, allocations: 1.125 kB / 0.5469 GB, free: 12.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3558, allocations: 0 / 0.5469 GB, free: 12.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.3558, allocations: 0 / 0.5469 GB, free: 12.59 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.0005719/0.3564, allocations: 397.7 kB / 0.5473 GB, free: 12.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.3564, allocations: 12.64 kB / 0.5473 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.894e-05/0.3565, allocations: 67.16 kB / 0.5474 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.505e-05/0.3565, allocations: 15.5 kB / 0.5474 GB, free: 12.13 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.3568, allocations: 138.2 kB / 0.5475 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.3568, allocations: 7.656 kB / 0.5475 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.3568, allocations: 13.41 kB / 0.5475 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000293/0.3571, allocations: 190.2 kB / 0.5477 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3571, allocations: 1.125 kB / 0.5477 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.3571, allocations: 5.062 kB / 0.5477 GB, free: 11.85 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.3571, allocations: 2.156 kB / 0.5477 GB, free: 11.85 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000183/0.3573, allocations: 144.3 kB / 0.5479 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004508/0.3577, allocations: 313.8 kB / 0.5482 GB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.3579, allocations: 139.5 kB / 0.5483 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.358, allocations: 123.7 kB / 0.5484 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.928e-06/0.3581, allocations: 0 / 0.5484 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.3581, allocations: 39.94 kB / 0.5484 GB, free: 11.26 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 8.31e-07/0.3581, allocations: 1.406 kB / 0.5484 GB, free: 11.26 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006467/0.3587, allocations: 418 kB / 0.5488 GB, free: 11.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.474e-05/0.3588, allocations: 96.5 kB / 0.5489 GB, free: 10.92 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.3589, allocations: 137.1 kB / 0.5491 GB, free: 10.8 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.359, allocations: 27.08 kB / 0.5491 GB, free: 10.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.982e-05/0.359, allocations: 109.8 kB / 0.5492 GB, free: 10.67 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.836e-05/0.3591, allocations: 66.41 kB / 0.5493 GB, free: 10.61 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.884e-05/0.3591, allocations: 33.3 kB / 0.5493 GB, free: 10.58 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.3593, allocations: 322.9 kB / 0.5496 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.3595, allocations: 115.6 kB / 0.5497 GB, free: 10.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.3596, allocations: 116.5 kB / 0.5498 GB, free: 10.13 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003072/0.3599, allocations: 264.1 kB / 0.5501 GB, free: 9.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3599, allocations: 1.469 kB / 0.5501 GB, free: 9.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003467/0.3602, allocations: 298.4 kB / 0.5504 GB, free: 9.801 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.25e-05/0.3603, allocations: 51.27 kB / 0.5504 GB, free: 9.762 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.3603, allocations: 1.281 kB / 0.5504 GB, free: 9.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.3603, allocations: 4.062 kB / 0.5504 GB, free: 9.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.203e-06/0.3603, allocations: 3.938 kB / 0.5504 GB, free: 9.754 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.3603, allocations: 1.25 kB / 0.5504 GB, free: 9.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.878e-05/0.3604, allocations: 17.36 kB / 0.5504 GB, free: 9.742 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.675e-05/0.3604, allocations: 5.312 kB / 0.5504 GB, free: 9.742 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.0001812/0.3606, allocations: 183.1 kB / 0.5506 GB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/0.3606, allocations: 16.83 kB / 0.5506 GB, free: 9.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.774e-05/0.3607, allocations: 7.844 kB / 0.5506 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3607, allocations: 0 / 0.5506 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.3607, allocations: 9.266 kB / 0.5506 GB, free: 9.559 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3607, allocations: 0 / 0.5506 GB, free: 9.559 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.3609, allocations: 179.1 kB / 0.5508 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3609, allocations: 1.469 kB / 0.5508 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.067e-06/0.3609, allocations: 3.938 kB / 0.5508 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.3609, allocations: 3.938 kB / 0.5508 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.3609, allocations: 4.438 kB / 0.5508 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.3609, allocations: 1.312 kB / 0.5508 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3609, allocations: 0 / 0.5508 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005579/0.3615, allocations: 0.5106 MB / 0.5513 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.222e-05/0.3615, allocations: 23.56 kB / 0.5513 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.3615, allocations: 3.688 kB / 0.5514 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.787e-05/0.3616, allocations: 7.562 kB / 0.5514 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.768e-05/0.3616, allocations: 6.719 kB / 0.5514 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.3616, allocations: 6.438 kB / 0.5514 GB, free: 9 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.263e-05/0.3617, allocations: 105.6 kB / 0.5515 GB, free: 8.914 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3617, allocations: 0 / 0.5515 GB, free: 8.914 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005435/0.3622, allocations: 146.9 kB / 0.5516 GB, free: 8.887 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.001537/0.3638, allocations: 1.357 MB / 0.5529 GB, free: 7.875 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006252/0.3644, allocations: 442.8 kB / 0.5534 GB, free: 7.613 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.3644, allocations: 5.156 kB / 0.5534 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003743/0.3648, allocations: 258.4 kB / 0.5536 GB, free: 7.445 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.3652, allocations: 19.19 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.003116/0.3683, allocations: 2.778 MB / 0.5563 GB, free: 4.945 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.3684, allocations: 121.1 kB / 0.5565 GB, free: 4.805 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.944e-05/0.3684, allocations: 7.984 kB / 0.5565 GB, free: 4.797 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.844e-05/0.3685, allocations: 27.44 kB / 0.5565 GB, free: 4.77 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3685, allocations: 0 / 0.5565 GB, free: 4.77 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.089416980277747] Failed to read output from testmodel.py, exit status != 0: 0.3977187708951533 0.414306023 0.05521961 Calling exit ...