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.0009062/0.0009062, allocations: 79.7 kB / 20.66 MB, free: 3.879 MB / 18.57 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.0007919/0.0007919, allocations: 174 kB / 23.95 MB, free: 0.5938 MB / 18.57 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 0.9421/0.9421, allocations: 177.2 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.2389/0.2389, allocations: 29.41 MB / 290.2 MB, free: 2.445 MB / 266.7 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.0007612/0.0007612, allocations: 67.91 kB / 430.4 MB, free: 13.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2969, allocations: 62.44 MB / 492.8 MB, free: 19.29 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.002267/0.2992, allocations: 2.244 MB / 495 MB, free: 17.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009625/0.3001, allocations: 1.023 MB / 496.1 MB, free: 17.07 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.631e-05/0.3002, allocations: 0.8125 kB / 496.1 MB, free: 17.07 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.3003, allocations: 14.42 kB / 496.1 MB, free: 17.06 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.008e-05/0.3004, allocations: 53.41 kB / 496.1 MB, free: 17.04 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007294/0.3011, allocations: 334.4 kB / 496.5 MB, free: 16.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000135/0.3012, allocations: 123.5 kB / 496.6 MB, free: 16.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.612e-05/0.3013, allocations: 3 kB / 496.6 MB, free: 16.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.3014, allocations: 72.36 kB / 496.6 MB, free: 16.85 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.98e-05/0.3015, allocations: 62.39 kB / 496.7 MB, free: 16.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.3015, allocations: 7.188 kB / 496.7 MB, free: 16.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006637/0.3022, allocations: 0.5706 MB / 497.3 MB, free: 16.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.091e-05/0.3022, allocations: 37.58 kB / 497.3 MB, free: 16.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.742e-05/0.3023, allocations: 19.89 kB / 497.3 MB, free: 16.67 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005662/0.3028, allocations: 0.5608 MB / 497.9 MB, free: 16.56 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.3028, allocations: 0 / 497.9 MB, free: 16.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3028, allocations: 4 kB / 497.9 MB, free: 16.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.3028, allocations: 1.188 kB / 497.9 MB, free: 16.56 MB / 410.7 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.0002902/0.3031, allocations: 395 kB / 498.3 MB, free: 16.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.3032, allocations: 13.25 kB / 498.3 MB, free: 16.2 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.115e-05/0.3032, allocations: 69.08 kB / 498.4 MB, free: 16.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.531e-05/0.3032, allocations: 14.69 kB / 498.4 MB, free: 16.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.3033, allocations: 140.1 kB / 498.5 MB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.444e-06/0.3033, allocations: 6.656 kB / 498.5 MB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.3034, allocations: 5.938 kB / 498.5 MB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.3036, allocations: 191.2 kB / 498.7 MB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.3036, allocations: 5.312 kB / 498.7 MB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-06/0.3036, allocations: 1.562 kB / 498.7 MB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.3036, allocations: 1.281 kB / 498.7 MB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.3037, allocations: 136.1 kB / 498.9 MB, free: 15.83 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002641/0.304, allocations: 318 kB / 499.2 MB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.3041, allocations: 131 kB / 499.3 MB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.188e-05/0.3042, allocations: 116.2 kB / 499.4 MB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.222e-06/0.3042, allocations: 0 / 499.4 MB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.37e-05/0.3042, allocations: 32.91 kB / 499.5 MB, free: 15.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 6.61e-07/0.3042, allocations: 0 / 499.5 MB, free: 15.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004255/0.3046, allocations: 422.9 kB / 499.9 MB, free: 15.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.3046, allocations: 102.8 kB / 500 MB, free: 15.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.78e-05/0.3047, allocations: 134.8 kB / 0.4884 GB, free: 14.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.136e-06/0.3047, allocations: 31.55 kB / 0.4884 GB, free: 14.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.418e-05/0.3048, allocations: 108.8 kB / 0.4885 GB, free: 14.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.3048, allocations: 64.86 kB / 0.4886 GB, free: 14.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.3048, allocations: 28.09 kB / 0.4886 GB, free: 14.78 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.635e-05/0.3049, allocations: 323 kB / 0.4889 GB, free: 14.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.041e-05/0.305, allocations: 110.3 kB / 0.489 GB, free: 14.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.208e-05/0.305, allocations: 119.7 kB / 0.4891 GB, free: 14.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.3052, allocations: 249.9 kB / 0.4894 GB, free: 14.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.3052, allocations: 4.031 kB / 0.4894 GB, free: 14.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002273/0.3055, allocations: 288.8 kB / 0.4896 GB, free: 14.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.684e-05/0.3055, allocations: 57.59 kB / 0.4897 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3055, allocations: 0.8438 kB / 0.4897 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.3055, allocations: 5 kB / 0.4897 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.41e-07/0.3055, allocations: 0 / 0.4897 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.3055, allocations: 3.938 kB / 0.4897 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.961e-05/0.3056, allocations: 14.64 kB / 0.4897 GB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.3056, allocations: 13.56 kB / 0.4897 GB, free: 14.05 MB / 410.7 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 8.904e-05/0.3057, allocations: 183.2 kB / 0.4899 GB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.939e-05/0.3057, allocations: 16.73 kB / 0.4899 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.073e-05/0.3057, allocations: 8.875 kB / 0.4899 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.3057, allocations: 3.938 kB / 0.4899 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.3057, allocations: 1.031 kB / 0.4899 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.3057, allocations: 0.7031 kB / 0.4899 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.3058, allocations: 176.5 kB / 0.4901 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3058, allocations: 1.344 kB / 0.4901 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.71e-07/0.3058, allocations: 0 / 0.4901 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.3058, allocations: 0.6094 kB / 0.4901 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.3058, allocations: 5.219 kB / 0.4901 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.3058, allocations: 4.547 kB / 0.4901 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3058, allocations: 5.125 kB / 0.4901 GB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000332/0.3062, allocations: 0.5066 MB / 0.4906 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.868e-06/0.3062, allocations: 7.984 kB / 0.4906 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.3062, allocations: 4.406 kB / 0.4906 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.093e-05/0.3062, allocations: 7.594 kB / 0.4906 GB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.899e-05/0.3063, allocations: 7.375 kB / 0.4906 GB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.3063, allocations: 7.016 kB / 0.4906 GB, free: 13.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.638e-05/0.3063, allocations: 105 kB / 0.4907 GB, free: 13.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3063, allocations: 0 / 0.4907 GB, free: 13.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000308/0.3066, allocations: 146.7 kB / 0.4909 GB, free: 13.31 MB / 410.7 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.000806/0.3074, allocations: 1.356 MB / 0.4922 GB, free: 12.33 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003206/0.3077, allocations: 434.8 kB / 0.4926 GB, free: 12.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3077, allocations: 0 / 0.4926 GB, free: 12.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001678/0.3079, allocations: 255.2 kB / 0.4929 GB, free: 11.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.3081, allocations: 20.11 kB / 0.4929 GB, free: 11.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.3097, allocations: 2.755 MB / 0.4956 GB, free: 9.922 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.843e-05/0.3097, allocations: 116.9 kB / 0.4957 GB, free: 9.824 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.307e-05/0.3097, allocations: 2.281 kB / 0.4957 GB, free: 9.824 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.179e-05/0.3098, allocations: 37.64 kB / 0.4957 GB, free: 9.789 MB / 410.7 MB Notification: Performance of SimCode: time 4.21e-07/0.3098, allocations: 0 / 0.4957 GB, free: 9.789 MB / 410.7 MB [CodegenCFunctions.tpl:5736:13-5736: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.1174820018932223] Failed to read output from testmodel.py, exit status != 0: 0.3275923766195774 0.33682766599999997 0.03230377 Calling exit ...