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.0009891/0.0009891, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0009288/0.0009288, allocations: 170 kB / 23.95 MB, free: 0.6094 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.9411/0.9411, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2504/0.2504, allocations: 29.4 MB / 290.1 MB, free: 2.449 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.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: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.397e-05, allocations: 4.109 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.002766/0.00279, allocations: 2.23 MB / 432.5 MB, free: 11.33 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002283/0.005072, allocations: 1.91 MB / 434.4 MB, free: 9.41 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.603e-05/0.005148, allocations: 3.938 kB / 434.4 MB, free: 9.406 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001553/0.005304, allocations: 15.86 kB / 434.4 MB, free: 9.391 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.005408, allocations: 31.83 kB / 434.4 MB, free: 9.359 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002085/0.007493, allocations: 0.9606 MB / 435.4 MB, free: 8.398 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.007661, allocations: 99.53 kB / 435.5 MB, free: 8.301 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.719e-05/0.007709, allocations: 7.859 kB / 435.5 MB, free: 8.293 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.007858, allocations: 51.88 kB / 435.5 MB, free: 8.242 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.202e-05/0.00794, allocations: 55.8 kB / 435.6 MB, free: 8.188 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.007952, allocations: 4 kB / 435.6 MB, free: 8.184 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002278/0.01023, allocations: 1.855 MB / 437.4 MB, free: 6.324 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.084e-05/0.0103, allocations: 35.91 kB / 437.5 MB, free: 6.289 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.611e-05/0.01035, allocations: 23.86 kB / 437.5 MB, free: 6.266 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001946/0.01229, allocations: 1.477 MB / 439 MB, free: 4.785 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.0123, allocations: 0 / 439 MB, free: 4.785 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.0123, allocations: 0 / 439 MB, free: 4.785 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.0123, allocations: 0 / 439 MB, free: 4.785 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007716/0.01308, allocations: 490.1 kB / 439.5 MB, free: 4.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.01312, allocations: 15.92 kB / 439.5 MB, free: 4.254 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.594e-05/0.0132, allocations: 70.47 kB / 439.5 MB, free: 4.176 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.221e-05/0.01324, allocations: 20.84 kB / 439.6 MB, free: 4.156 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.0134, allocations: 148.7 kB / 439.7 MB, free: 3.988 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.01341, allocations: 4.375 kB / 439.7 MB, free: 3.984 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.01342, allocations: 4.375 kB / 439.7 MB, free: 3.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.01363, allocations: 183.3 kB / 439.9 MB, free: 3.793 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.01364, allocations: 0 / 439.9 MB, free: 3.793 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.01365, allocations: 0 / 439.9 MB, free: 3.793 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.01365, allocations: 4 kB / 439.9 MB, free: 3.789 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.01376, allocations: 117.9 kB / 440 MB, free: 3.668 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.01411, allocations: 324.1 kB / 440.3 MB, free: 3.309 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.01421, allocations: 100.2 kB / 440.4 MB, free: 3.195 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.899e-05/0.01428, allocations: 102.5 kB / 440.5 MB, free: 3.086 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.752e-06/0.01429, allocations: 0 / 440.5 MB, free: 3.086 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.01431, allocations: 34.5 kB / 440.6 MB, free: 3.043 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 9.32e-07/0.01432, allocations: 0 / 440.6 MB, free: 3.043 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003337/0.01465, allocations: 326.7 kB / 440.9 MB, free: 2.699 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.01469, allocations: 89.09 kB / 441 MB, free: 2.594 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.087e-05/0.01478, allocations: 154.3 kB / 441.1 MB, free: 2.434 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.01479, allocations: 25.7 kB / 441.1 MB, free: 2.402 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.259e-05/0.01484, allocations: 112 kB / 441.3 MB, free: 2.289 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.348e-05/0.01488, allocations: 47.53 kB / 441.3 MB, free: 2.242 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.01491, allocations: 25.75 kB / 441.3 MB, free: 2.211 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.125e-05/0.01499, allocations: 322.8 kB / 441.6 MB, free: 1.887 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.751e-05/0.01506, allocations: 93.59 kB / 441.7 MB, free: 1.789 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.706e-05/0.01512, allocations: 85.66 kB / 441.8 MB, free: 1.699 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.01525, allocations: 194.5 kB / 442 MB, free: 1.496 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.01525, allocations: 3.938 kB / 442 MB, free: 1.492 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000179/0.01543, allocations: 232.9 kB / 442.2 MB, free: 1.246 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.758e-05/0.01548, allocations: 60.58 kB / 442.3 MB, free: 1.184 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.01548, allocations: 0 / 442.3 MB, free: 1.184 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.0155, allocations: 0 / 442.3 MB, free: 1.184 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.62e-07/0.0155, allocations: 64 / 442.3 MB, free: 1.184 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.0155, allocations: 4 kB / 442.3 MB, free: 1.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.336e-05/0.01555, allocations: 4 kB / 442.3 MB, free: 1.176 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.01557, allocations: 11.94 kB / 442.3 MB, free: 1.164 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 0.0001041/0.01567, allocations: 175.4 kB / 442.5 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.01569, allocations: 19.84 kB / 442.5 MB, free: 0.957 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.697e-05/0.01571, allocations: 16.77 kB / 442.5 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.01571, allocations: 0 / 442.5 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.01572, allocations: 0 / 442.5 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.01572, allocations: 0 / 442.5 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.01586, allocations: 172.6 kB / 442.7 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.01586, allocations: 4 kB / 442.7 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.019e-06/0.01587, allocations: 0 / 442.7 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.01587, allocations: 3.938 kB / 442.7 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.01589, allocations: 4 kB / 442.7 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01589, allocations: 0 / 442.7 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.01589, allocations: 7.969 kB / 442.7 MB, free: 0.707 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/0.0162, allocations: 405.9 kB / 443.1 MB, free: 292 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.344e-05/0.01622, allocations: 11.91 kB / 443.1 MB, free: 280 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.01623, allocations: 3.938 kB / 443.1 MB, free: 276 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.694e-05/0.01629, allocations: 11.98 kB / 443.1 MB, free: 264 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.59e-05/0.01631, allocations: 4 kB / 443.1 MB, free: 260 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.01632, allocations: 8.031 kB / 443.1 MB, free: 252 kB / 410.7 MB Notification: Performance of sorting global known variables: time 5.446e-05/0.01637, allocations: 117.2 kB / 443.3 MB, free: 136 kB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01637, allocations: 0 / 443.3 MB, free: 136 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.1905/0.2068, allocations: 341.1 kB / 443.6 MB, free: 53.93 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.00149/0.2083, allocations: 1.406 MB / 445 MB, free: 53.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002782/0.2086, allocations: 327.1 kB / 445.3 MB, free: 53.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2086, allocations: 0 / 445.3 MB, free: 53.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.453e-05/0.2087, allocations: 196.1 kB / 445.5 MB, free: 52.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.209, allocations: 16.78 kB / 445.5 MB, free: 52.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.2106, allocations: 2.542 MB / 448.1 MB, free: 51.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.62e-05/0.2107, allocations: 118.2 kB / 448.2 MB, free: 51.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.445e-05/0.2107, allocations: 0 / 448.2 MB, free: 51.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.325e-05/0.2108, allocations: 39.86 kB / 448.2 MB, free: 51.38 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/0.2108, allocations: 1.75 kB / 448.2 MB, free: 51.38 MB / 410.7 MB [CodegenCFunctions.tpl:5727:13-5727: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.0565656507387757] Failed to read output from testmodel.py, exit status != 0: 0.23279178980737925 0.238732881 0.22501827800000002 Calling exit ...