Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.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.001386/0.001386, 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.001381/0.001381, allocations: 214.6 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.441/1.441, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.1856/0.1856, allocations: 38.53 MB / 352.5 MB, free: 12.54 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.Z_matrixTrDat0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0",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.002961/0.002961, allocations: 67.89 kB / 492.6 MB, free: 4.848 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3353, allocations: 62.46 MB / 0.542 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.003303/0.3386, allocations: 2.212 MB / 0.5442 GB, free: 14.69 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003144/0.3417, allocations: 2.107 MB / 0.5462 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.719e-05/0.3418, allocations: 3.938 kB / 0.5462 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001632/0.3419, allocations: 23.31 kB / 0.5463 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.208e-05/0.342, allocations: 21.84 kB / 0.5463 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00253/0.3445, allocations: 0.9915 MB / 0.5472 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.3447, allocations: 72.2 kB / 0.5473 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.751e-05/0.3447, allocations: 14.19 kB / 0.5473 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.3449, allocations: 43.72 kB / 0.5474 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.462e-05/0.345, allocations: 46.12 kB / 0.5474 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.345, allocations: 1.312 kB / 0.5474 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003935/0.3489, allocations: 2.229 MB / 0.5496 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.382e-05/0.349, allocations: 13.86 kB / 0.5496 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.962e-05/0.349, allocations: 22.78 kB / 0.5496 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002144/0.3512, allocations: 1.362 MB / 0.551 GB, free: 9.898 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3512, allocations: 1.125 kB / 0.551 GB, free: 9.898 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3512, allocations: 0 / 0.551 GB, free: 9.898 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.3512, allocations: 0 / 0.551 GB, free: 9.898 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006604/0.3518, allocations: 447.6 kB / 0.5514 GB, free: 9.484 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.3519, allocations: 14.39 kB / 0.5514 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.077e-05/0.3519, allocations: 40.34 kB / 0.5514 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.343e-05/0.352, allocations: 8.422 kB / 0.5514 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.3521, allocations: 124.9 kB / 0.5516 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.3521, allocations: 1.062 kB / 0.5516 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.3522, allocations: 1 kB / 0.5516 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.3523, allocations: 56.42 kB / 0.5516 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.3523, allocations: 0 / 0.5516 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.3523, allocations: 1.062 kB / 0.5516 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.3523, allocations: 0 / 0.5516 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.841e-05/0.3524, allocations: 24.08 kB / 0.5516 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000159/0.3525, allocations: 145.1 kB / 0.5518 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.716e-05/0.3526, allocations: 38.22 kB / 0.5518 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.166e-05/0.3527, allocations: 32.47 kB / 0.5518 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-06/0.3527, allocations: 1.25 kB / 0.5518 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.3527, allocations: 31.66 kB / 0.5519 GB, free: 8.973 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.3527, allocations: 0 / 0.5519 GB, free: 8.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002939/0.353, allocations: 149.9 kB / 0.552 GB, free: 8.883 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.509e-05/0.3531, allocations: 94.59 kB / 0.5521 GB, free: 8.777 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.3532, allocations: 120.1 kB / 0.5522 GB, free: 8.668 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.3532, allocations: 29.69 kB / 0.5523 GB, free: 8.633 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.129e-05/0.3533, allocations: 86.83 kB / 0.5523 GB, free: 8.547 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.955e-05/0.3533, allocations: 27.7 kB / 0.5524 GB, free: 8.523 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-05/0.3534, allocations: 20.39 kB / 0.5524 GB, free: 8.504 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.3535, allocations: 324.4 kB / 0.5527 GB, free: 8.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.163e-05/0.3535, allocations: 23.97 kB / 0.5527 GB, free: 8.172 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.6e-05/0.3536, allocations: 23.86 kB / 0.5527 GB, free: 8.164 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.3537, allocations: 127.3 kB / 0.5529 GB, free: 8.074 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3537, allocations: 3.938 kB / 0.5529 GB, free: 8.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001738/0.3539, allocations: 127.5 kB / 0.553 GB, free: 7.984 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.943e-05/0.354, allocations: 41.06 kB / 0.553 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.354, allocations: 1.062 kB / 0.553 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.354, allocations: 3.984 kB / 0.553 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.354, allocations: 0 / 0.553 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.354, allocations: 1.219 kB / 0.553 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.06e-05/0.354, allocations: 5.938 kB / 0.553 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.354, allocations: 15.28 kB / 0.5531 GB, free: 7.93 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.0001251/0.3542, allocations: 150.4 kB / 0.5532 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.938e-05/0.3542, allocations: 8.953 kB / 0.5532 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.769e-05/0.3542, allocations: 9.172 kB / 0.5532 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3542, allocations: 1.062 kB / 0.5532 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3542, allocations: 0 / 0.5532 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.3542, allocations: 3.984 kB / 0.5532 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.3544, allocations: 147.2 kB / 0.5534 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3544, allocations: 0 / 0.5534 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.022e-06/0.3544, allocations: 1.188 kB / 0.5534 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3544, allocations: 4 kB / 0.5534 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.3544, allocations: 6.359 kB / 0.5534 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3544, allocations: 1.094 kB / 0.5534 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3544, allocations: 320 / 0.5534 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.3546, allocations: 222.7 kB / 0.5536 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.403e-05/0.3547, allocations: 7.172 kB / 0.5536 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.3547, allocations: 10.2 kB / 0.5536 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.684e-05/0.3547, allocations: 5.125 kB / 0.5536 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.063e-05/0.3547, allocations: 2.156 kB / 0.5536 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-06/0.3547, allocations: 3.25 kB / 0.5536 GB, free: 7.414 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.804e-05/0.3548, allocations: 102 kB / 0.5537 GB, free: 7.328 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3548, allocations: 0 / 0.5537 GB, free: 7.328 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001005/0.3558, allocations: 319.1 kB / 0.554 GB, free: 7.273 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.001515/0.3573, allocations: 1.017 MB / 0.555 GB, free: 6.496 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002759/0.3576, allocations: 172.8 kB / 0.5552 GB, free: 6.395 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3576, allocations: 3.938 kB / 0.5552 GB, free: 6.391 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.3577, allocations: 124.7 kB / 0.5553 GB, free: 6.305 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.358, allocations: 11.56 kB / 0.5553 GB, free: 6.301 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/0.36, allocations: 1.709 MB / 0.557 GB, free: 4.695 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.3603, allocations: 0.6924 MB / 0.5576 GB, free: 3.977 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.606e-05/0.3603, allocations: 0 / 0.5576 GB, free: 3.977 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.099e-05/0.3604, allocations: 19.42 kB / 0.5577 GB, free: 3.957 MB / 398.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3604, allocations: 0 / 0.5577 GB, free: 3.957 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: 2.9094994769984623] Failed to read output from testmodel.py, exit status != 0: 0.39481438000075286 0.41086279600000003 0.056426002 Calling exit ...