Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.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.00064/0.00064, allocations: 76.17 kB / 9.931 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000855/0.001495, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006732/0.0006732, allocations: 169.1 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008927/0.001566, allocations: 455.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9056/0.9056, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07838/0.9839, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.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.1151/0.1151, allocations: 29.43 MB / 273.4 MB, free: 1.441 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1068/0.2219, allocations: 9.523 MB / 282.9 MB, free: 12.84 MB / 282.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: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 284.2 MB, free: 11.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.571e-05/1.69e-05, allocations: 3.188 kB / 284.2 MB, free: 11.91 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.004306/0.004323, allocations: 4.47 MB / 288.7 MB, free: 8.398 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.006204, allocations: 1.505 MB / 290.2 MB, free: 7.227 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001883/0.006392, allocations: 21.09 kB / 290.2 MB, free: 7.215 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002775/0.00667, allocations: 109.5 kB / 290.3 MB, free: 7.129 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004041/0.007074, allocations: 287.9 kB / 290.6 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.007286, allocations: 111 kB / 290.7 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005046/0.00779, allocations: 0.5112 MB / 291.2 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.007955, allocations: 111.1 kB / 291.3 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003333/0.008289, allocations: 316.4 kB / 291.6 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/0.008514, allocations: 169.5 kB / 291.8 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.755e-05/0.008551, allocations: 25.56 kB / 291.8 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.597e-05/0.008597, allocations: 26.75 kB / 291.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.162e-05/0.008679, allocations: 94.23 kB / 291.9 MB, free: 6.148 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.008787, allocations: 100.1 kB / 292 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.00906, allocations: 247.2 kB / 292.3 MB, free: 6.012 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.234e-05/0.009073, allocations: 3.938 kB / 292.3 MB, free: 6.008 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.009074, allocations: 4 kB / 292.3 MB, free: 6.004 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.514e-05/0.009089, allocations: 1.562 kB / 292.3 MB, free: 6.004 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.00069/0.009779, allocations: 0.6375 MB / 292.9 MB, free: 5.535 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.78e-05/0.009807, allocations: 8.438 kB / 292.9 MB, free: 5.535 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.916e-05/0.009876, allocations: 44.78 kB / 293 MB, free: 5.52 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003854/0.01026, allocations: 323.4 kB / 293.3 MB, free: 5.273 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.01028, allocations: 28.5 kB / 293.3 MB, free: 5.258 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.451e-05/0.01031, allocations: 25.66 kB / 293.4 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.01054, allocations: 251 kB / 293.6 MB, free: 5.039 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.01055, allocations: 0 / 293.6 MB, free: 5.039 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.01057, allocations: 17.69 kB / 293.6 MB, free: 5.027 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.01058, allocations: 3.469 kB / 293.6 MB, free: 5.027 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.01068, allocations: 90.3 kB / 293.7 MB, free: 4.996 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008413/0.01152, allocations: 1.231 MB / 294.9 MB, free: 3.871 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.01173, allocations: 146 kB / 295.1 MB, free: 3.707 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.434e-05/0.01177, allocations: 51.53 kB / 295.1 MB, free: 3.645 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.01179, allocations: 7.938 kB / 295.1 MB, free: 3.637 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.01181, allocations: 38.56 kB / 295.2 MB, free: 3.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.863e-06/0.01181, allocations: 0 / 295.2 MB, free: 3.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004702/0.01228, allocations: 322.4 kB / 295.5 MB, free: 3.242 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.01232, allocations: 132.5 kB / 295.6 MB, free: 3.082 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.01247, allocations: 274.9 kB / 295.9 MB, free: 2.801 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.01248, allocations: 25.7 kB / 295.9 MB, free: 2.77 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.158e-05/0.01255, allocations: 193 kB / 296.1 MB, free: 2.578 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.996e-05/0.0126, allocations: 71.41 kB / 296.2 MB, free: 2.508 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.01264, allocations: 49.69 kB / 296.2 MB, free: 2.453 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.682e-05/0.01272, allocations: 351 kB / 296.6 MB, free: 2.102 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.324e-05/0.01274, allocations: 20 kB / 296.6 MB, free: 2.082 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.501e-05/0.01281, allocations: 120.8 kB / 296.7 MB, free: 1.918 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.01293, allocations: 173.6 kB / 296.9 MB, free: 1.703 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01293, allocations: 4 kB / 296.9 MB, free: 1.699 MB / 282.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001455/0.01308, allocations: 161.6 kB / 297 MB, free: 1.535 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.01309, allocations: 8 kB / 297 MB, free: 1.527 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.01309, allocations: 4 kB / 297 MB, free: 1.523 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.0131, allocations: 4 kB / 297.1 MB, free: 1.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/0.01332, allocations: 95.88 kB / 297.1 MB, free: 1.426 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000725/0.01404, allocations: 1.204 MB / 298.3 MB, free: 136 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.058e-05/0.01411, allocations: 8 kB / 298.4 MB, free: 128 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.01412, allocations: 8 kB / 298.4 MB, free: 120 kB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.483e-05/0.01422, allocations: 132.5 kB / 298.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.35e-05/0.01426, allocations: 23.98 kB / 298.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001327/0.01439, allocations: 126.5 kB / 298.6 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.0144, allocations: 12.11 kB / 298.7 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.0144, allocations: 7.922 kB / 298.7 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.0144, allocations: 3.938 kB / 298.7 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000319/0.01472, allocations: 321.4 kB / 299 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01472, allocations: 0 / 299 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.01489, allocations: 55.91 kB / 299 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.176e-05/0.01491, allocations: 23.81 kB / 299.1 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.01492, allocations: 7.938 kB / 299.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.01493, allocations: 4 kB / 299.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.01493, allocations: 4 kB / 299.1 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.01493, allocations: 4 kB / 299.1 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.01514, allocations: 400 kB / 299.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.01516, allocations: 3.938 kB / 299.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.124e-05/0.01525, allocations: 8 kB / 299.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.554e-05/0.01528, allocations: 11.97 kB / 299.5 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.01528, allocations: 8 kB / 299.5 MB, free: 14.93 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.279e-05/0.01535, allocations: 100.6 kB / 299.6 MB, free: 14.83 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01535, allocations: 0 / 299.6 MB, free: 14.83 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002262/0.01557, allocations: 56 kB / 299.6 MB, free: 14.77 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (rotor.phi,rotor.w,motor.i) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 8.547e-05/0.01566, allocations: 84.36 kB / 299.7 MB, free: 14.68 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001739/0.01583, allocations: 115.2 kB / 299.8 MB, free: 14.56 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.888e-06/0.01584, allocations: 8 kB / 299.9 MB, free: 14.55 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.633e-05/0.01589, allocations: 53.69 kB / 299.9 MB, free: 14.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.01627, allocations: 106.9 kB / 300 MB, free: 14.4 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005108/0.02138, allocations: 0.7047 MB / 300.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.754e-05/0.02144, allocations: 112.6 kB / 300.8 MB, free: 13.53 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001085/0.02155, allocations: 46.98 kB / 300.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.02168, allocations: 107.3 kB / 301 MB, free: 13.38 MB / 298.7 MB Notification: Performance of SimCode: time 1.142e-06/0.02168, allocations: 4 kB / 301 MB, free: 13.38 MB / 298.7 MB Notification: Performance of Templates: time 0.005147/0.02682, allocations: 3.305 MB / 304.3 MB, free: 10.17 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.484993831254542]