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.001844/0.001844, 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.002236/0.002236, allocations: 206.9 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.597/1.597, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2224/0.2224, allocations: 38.56 MB / 352.5 MB, free: 12.3 MB / 286.1 MB " [Timeout remaining time 179] 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.00235/0.00235, allocations: 64.19 kB / 492.5 MB, free: 4.676 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3623, allocations: 62.47 MB / 0.542 GB, free: 244 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.004338/0.3666, allocations: 2.235 MB / 0.5441 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003952/0.3706, allocations: 1.903 MB / 0.546 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.879e-05/0.3706, allocations: 1.281 kB / 0.546 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001775/0.3708, allocations: 13.05 kB / 0.546 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001514/0.371, allocations: 37.67 kB / 0.546 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00384/0.3748, allocations: 0.9429 MB / 0.547 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002346/0.375, allocations: 97.86 kB / 0.5471 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.54e-05/0.3751, allocations: 11.14 kB / 0.5471 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002165/0.3753, allocations: 54.06 kB / 0.5471 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.3754, allocations: 50.94 kB / 0.5472 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.814e-05/0.3755, allocations: 2.25 kB / 0.5472 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004254/0.3797, allocations: 1.855 MB / 0.549 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.33e-05/0.3798, allocations: 31.94 kB / 0.549 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.335e-05/0.3799, allocations: 33.52 kB / 0.549 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003036/0.3829, allocations: 1.319 MB / 0.5503 GB, free: 10.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.3829, allocations: 1.25 kB / 0.5503 GB, free: 10.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3829, allocations: 0 / 0.5503 GB, free: 10.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.482e-05/0.3829, allocations: 0 / 0.5503 GB, free: 10.29 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.001211/0.3841, allocations: 489.1 kB / 0.5508 GB, free: 9.844 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.3842, allocations: 20.86 kB / 0.5508 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001047/0.3843, allocations: 58.19 kB / 0.5509 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.402e-05/0.3843, allocations: 19.48 kB / 0.5509 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.3846, allocations: 158.7 kB / 0.551 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.3846, allocations: 7.25 kB / 0.5511 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.3847, allocations: 8.469 kB / 0.5511 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003152/0.385, allocations: 172.1 kB / 0.5512 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.385, allocations: 3.984 kB / 0.5512 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.385, allocations: 5.406 kB / 0.5512 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.385, allocations: 1.469 kB / 0.5512 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001702/0.3852, allocations: 116.3 kB / 0.5513 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005794/0.3858, allocations: 329.8 kB / 0.5517 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.3859, allocations: 108.1 kB / 0.5518 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.3861, allocations: 94.86 kB / 0.5519 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.3861, allocations: 0 / 0.5519 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/0.3861, allocations: 35.66 kB / 0.5519 GB, free: 8.914 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.162e-06/0.3861, allocations: 0 / 0.5519 GB, free: 8.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005907/0.3867, allocations: 334.7 kB / 0.5522 GB, free: 8.707 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.786e-05/0.3868, allocations: 90.38 kB / 0.5523 GB, free: 8.609 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.387, allocations: 146.3 kB / 0.5524 GB, free: 8.488 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.387, allocations: 26.89 kB / 0.5525 GB, free: 8.457 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.3871, allocations: 126.9 kB / 0.5526 GB, free: 8.336 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.486e-05/0.3872, allocations: 44.53 kB / 0.5526 GB, free: 8.297 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.986e-05/0.3872, allocations: 30.95 kB / 0.5527 GB, free: 8.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.3874, allocations: 322 kB / 0.553 GB, free: 7.949 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.3875, allocations: 89.25 kB / 0.553 GB, free: 7.895 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.3877, allocations: 81.58 kB / 0.5531 GB, free: 7.848 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002462/0.3879, allocations: 201.9 kB / 0.5533 GB, free: 7.727 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.3879, allocations: 0 / 0.5533 GB, free: 7.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003391/0.3882, allocations: 240.5 kB / 0.5535 GB, free: 7.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.903e-05/0.3883, allocations: 52.11 kB / 0.5536 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.3883, allocations: 5.25 kB / 0.5536 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.3883, allocations: 0 / 0.5536 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.834e-06/0.3883, allocations: 1.156 kB / 0.5536 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.3883, allocations: 0 / 0.5536 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.725e-05/0.3884, allocations: 15.23 kB / 0.5536 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/0.3884, allocations: 4.406 kB / 0.5536 GB, free: 7.512 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.0001861/0.3886, allocations: 185.6 kB / 0.5538 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.481e-05/0.3887, allocations: 11.7 kB / 0.5538 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.322e-05/0.3887, allocations: 8.188 kB / 0.5538 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3887, allocations: 0 / 0.5538 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3887, allocations: 0 / 0.5538 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3887, allocations: 5.156 kB / 0.5538 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/0.3889, allocations: 175.7 kB / 0.554 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.3889, allocations: 3.984 kB / 0.554 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.002e-06/0.3889, allocations: 0 / 0.554 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3889, allocations: 1.031 kB / 0.554 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.389, allocations: 3.281 kB / 0.554 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.389, allocations: 1.156 kB / 0.554 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.389, allocations: 0 / 0.554 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005256/0.3895, allocations: 416.6 kB / 0.5544 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.773e-05/0.3895, allocations: 11.23 kB / 0.5544 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.3895, allocations: 6.5 kB / 0.5544 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.078e-05/0.3896, allocations: 7.438 kB / 0.5544 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.3896, allocations: 10.22 kB / 0.5544 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.3897, allocations: 4.781 kB / 0.5544 GB, free: 6.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001034/0.3898, allocations: 114.8 kB / 0.5545 GB, free: 6.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3898, allocations: 0 / 0.5545 GB, free: 6.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001392/0.3911, allocations: 346.3 kB / 0.5549 GB, free: 6.645 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.002408/0.3936, allocations: 1.388 MB / 0.5562 GB, free: 5.215 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004535/0.394, allocations: 326.6 kB / 0.5565 GB, free: 4.871 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.394, allocations: 3.938 kB / 0.5565 GB, free: 4.867 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002397/0.3943, allocations: 193 kB / 0.5567 GB, free: 4.66 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003832/0.3946, allocations: 16 kB / 0.5567 GB, free: 4.645 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003232/0.3979, allocations: 2.567 MB / 0.5592 GB, free: 1.969 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/0.398, allocations: 125.1 kB / 0.5594 GB, free: 1.828 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.037e-05/0.398, allocations: 0 / 0.5594 GB, free: 1.828 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.031e-05/0.3981, allocations: 35.42 kB / 0.5594 GB, free: 1.793 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3981, allocations: 4 kB / 0.5594 GB, free: 1.789 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.2859213170595467] Failed to read output from testmodel.py, exit status != 0: 0.43565437523648143 0.45155971199999995 0.06537071600000001 Calling exit ...