Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.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.001838/0.001838, allocations: 73.41 kB / 21.24 MB, free: 0.5547 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.002586/0.002586, allocations: 158.6 kB / 24.5 MB, free: 3.715 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.473/1.473, allocations: 177.2 MB / 204.9 MB, free: 8.992 MB / 190.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.1797/0.1797, allocations: 29.43 MB / 290.7 MB, free: 3.258 MB / 270.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: translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor") translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor") [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.002783/0.002783, allocations: 59.91 kB / 431.2 MB, free: 3.227 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4328/0.4356, allocations: 62.45 MB / 493.6 MB, free: 37.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.005073/0.4406, allocations: 4.412 MB / 498 MB, free: 34.81 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001982/0.4426, allocations: 1.357 MB / 499.4 MB, free: 33.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001709/0.4428, allocations: 25.22 kB / 499.4 MB, free: 33.9 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007874/0.4436, allocations: 292 kB / 499.7 MB, free: 33.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004381/0.444, allocations: 285.1 kB / 500 MB, free: 33.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005126/0.4445, allocations: 252.7 kB / 0.4885 GB, free: 33.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005767/0.4451, allocations: 0.6663 MB / 0.4892 GB, free: 33.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003123/0.4454, allocations: 209.2 kB / 0.4894 GB, free: 33.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000356/0.4458, allocations: 316.5 kB / 0.4897 GB, free: 32.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004758/0.4462, allocations: 426.7 kB / 0.4901 GB, free: 32.83 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.485e-05/0.4463, allocations: 44.94 kB / 0.4901 GB, free: 32.83 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003439/0.4467, allocations: 215.9 kB / 0.4903 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001891/0.4469, allocations: 255.4 kB / 0.4906 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002247/0.4471, allocations: 242.3 kB / 0.4908 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006565/0.4477, allocations: 0.7607 MB / 0.4915 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.4477, allocations: 4 kB / 0.4915 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4477, allocations: 0 / 0.4915 GB, free: 32.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.397e-06/0.4478, allocations: 0 / 0.4915 GB, free: 32.29 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001409/0.4492, allocations: 0.8263 MB / 0.4923 GB, free: 31.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.4492, allocations: 13.27 kB / 0.4924 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006951/0.4499, allocations: 130.3 kB / 0.4925 GB, free: 31.67 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005999/0.4505, allocations: 376.1 kB / 0.4928 GB, free: 31.42 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.321e-05/0.4505, allocations: 36.02 kB / 0.4929 GB, free: 31.4 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.814e-05/0.4506, allocations: 41.62 kB / 0.4929 GB, free: 31.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.4516, allocations: 0.936 MB / 0.4938 GB, free: 30.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.4516, allocations: 6.625 kB / 0.4938 GB, free: 30.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.069e-05/0.4517, allocations: 18.14 kB / 0.4939 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001222/0.4518, allocations: 58.84 kB / 0.4939 GB, free: 30.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009754/0.4528, allocations: 0.8703 MB / 0.4948 GB, free: 30.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002693/0.4555, allocations: 2.485 MB / 0.4972 GB, free: 28.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007318/0.4562, allocations: 0.5647 MB / 0.4977 GB, free: 28.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004231/0.4566, allocations: 435.9 kB / 0.4982 GB, free: 28.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.833e-05/0.4567, allocations: 3.156 kB / 0.4982 GB, free: 28.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.4567, allocations: 49.23 kB / 0.4982 GB, free: 28.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=56): time 2.185e-06/0.4567, allocations: 0 / 0.4982 GB, free: 28.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.002508/0.4592, allocations: 1.99 MB / 0.5001 GB, free: 27.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.951e-05/0.4593, allocations: 144.5 kB / 0.5003 GB, free: 27.58 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.4595, allocations: 302.4 kB / 0.5006 GB, free: 27.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.4595, allocations: 32.92 kB / 0.5006 GB, free: 27.38 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.4596, allocations: 267 kB / 0.5009 GB, free: 27.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.4597, allocations: 197.5 kB / 0.501 GB, free: 27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.4599, allocations: 103.2 kB / 0.5011 GB, free: 26.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.582e-05/0.4599, allocations: 354.9 kB / 0.5015 GB, free: 26.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004027/0.4603, allocations: 424.8 kB / 0.5019 GB, free: 26.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004693/0.4608, allocations: 0.5498 MB / 0.5024 GB, free: 26.17 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009988/0.4618, allocations: 1.018 MB / 0.5034 GB, free: 25.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4618, allocations: 2.844 kB / 0.5034 GB, free: 25.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001223/0.463, allocations: 1.084 MB / 0.5045 GB, free: 25.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.071e-05/0.4631, allocations: 72.03 kB / 0.5046 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.4631, allocations: 3.031 kB / 0.5046 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001875/0.4633, allocations: 41.8 kB / 0.5046 GB, free: 25.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003175/0.4636, allocations: 91.64 kB / 0.5047 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008829/0.4645, allocations: 1.418 MB / 0.5061 GB, free: 23.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003048/0.4648, allocations: 36.25 kB / 0.5061 GB, free: 23.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.614e-05/0.4649, allocations: 24.62 kB / 0.5061 GB, free: 23.85 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1],system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003046/0.4652, allocations: 302.8 kB / 0.5064 GB, free: 23.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.4653, allocations: 44.62 kB / 0.5065 GB, free: 23.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/0.4665, allocations: 1.139 MB / 0.5076 GB, free: 23.17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/0.4666, allocations: 12.73 kB / 0.5076 GB, free: 23.17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.4666, allocations: 10.88 kB / 0.5076 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.4666, allocations: 7.453 kB / 0.5076 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002089/0.4687, allocations: 1.695 MB / 0.5093 GB, free: 22.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.4687, allocations: 5.031 kB / 0.5093 GB, free: 22.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002583/0.4689, allocations: 59.2 kB / 0.5093 GB, free: 22.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001077/0.469, allocations: 33.83 kB / 0.5093 GB, free: 22.37 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.105e-05/0.4691, allocations: 11.03 kB / 0.5094 GB, free: 22.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009329/0.47, allocations: 1.427 MB / 0.5108 GB, free: 21.06 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.47, allocations: 5.375 kB / 0.5108 GB, free: 21.06 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00145/0.4715, allocations: 1.227 MB / 0.512 GB, free: 20.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002354/0.4717, allocations: 106.1 kB / 0.5121 GB, free: 20.46 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.434e-05/0.4718, allocations: 14.25 kB / 0.5121 GB, free: 20.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/0.472, allocations: 24.67 kB / 0.5121 GB, free: 20.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.4722, allocations: 44.28 kB / 0.5121 GB, free: 20.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.012e-05/0.4722, allocations: 24.8 kB / 0.5122 GB, free: 20.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001789/0.4724, allocations: 207.8 kB / 0.5124 GB, free: 20.31 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4724, allocations: 0 / 0.5124 GB, free: 20.31 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006644/0.4731, allocations: 139.9 kB / 0.5125 GB, free: 20.3 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,voltage.h_mod3[1],voltage.h_mod3[2],voltage.h_mod3[3]) * Number of discrete states: 3 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002538/0.4733, allocations: 143.1 kB / 0.5126 GB, free: 20.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001492/0.4748, allocations: 1.274 MB / 0.5139 GB, free: 19.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4748, allocations: 0 / 0.5139 GB, free: 19.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007975/0.4756, allocations: 0.743 MB / 0.5146 GB, free: 19.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005585/0.4762, allocations: 87.97 kB / 0.5147 GB, free: 19.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/0.4783, allocations: 1.491 MB / 0.5161 GB, free: 18.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.4786, allocations: 304.9 kB / 0.5164 GB, free: 18.47 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002524/0.4788, allocations: 100.8 kB / 0.5165 GB, free: 18.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.88e-05/0.4789, allocations: 32.47 kB / 0.5166 GB, free: 18.45 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4789, allocations: 7.938 kB / 0.5166 GB, free: 18.44 MB / 446.1 MB Notification: Performance of Templates: time 0.0134/0.4923, allocations: 6.16 MB / 0.5226 GB, free: 17.72 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.147497155936435] Failed to read output from testmodel.py, exit status != 0: 0.502619202947244 0.5142095560000001 0.063634229 Calling exit ...