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.001558/0.001558, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002704/0.002704, allocations: 161.7 kB / 24.27 MB, free: 168 kB / 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 1.505/1.505, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 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.3082/0.3082, allocations: 29.42 MB / 290.5 MB, free: 2.422 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: 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.463e-06/1.463e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.565e-05/2.711e-05, allocations: 9.406 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.007267/0.007294, allocations: 4.451 MB / 373.3 MB, free: 6.832 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00282/0.01011, allocations: 1.39 MB / 374.7 MB, free: 5.438 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003004/0.01041, allocations: 19.81 kB / 374.7 MB, free: 5.418 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005057/0.01092, allocations: 111.1 kB / 374.9 MB, free: 5.309 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007629/0.01168, allocations: 286.1 kB / 375.1 MB, free: 5.027 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003336/0.01202, allocations: 115.7 kB / 375.2 MB, free: 4.914 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008458/0.01286, allocations: 0.5173 MB / 375.8 MB, free: 4.395 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002389/0.0131, allocations: 108.4 kB / 375.9 MB, free: 4.289 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004524/0.01355, allocations: 283.1 kB / 376.1 MB, free: 4.012 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003781/0.01393, allocations: 179.5 kB / 376.3 MB, free: 3.836 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.497e-05/0.01399, allocations: 24 kB / 376.3 MB, free: 3.812 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.574e-05/0.01405, allocations: 28 kB / 376.4 MB, free: 3.785 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000157/0.01421, allocations: 115.6 kB / 376.5 MB, free: 3.672 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001717/0.01438, allocations: 111.8 kB / 376.6 MB, free: 3.562 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000571/0.01495, allocations: 378.7 kB / 377 MB, free: 3.191 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.01496, allocations: 7.938 kB / 377 MB, free: 3.184 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.01496, allocations: 0 / 377 MB, free: 3.184 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.01497, allocations: 0 / 377 MB, free: 3.184 MB / 346.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.001486/0.01645, allocations: 0.5994 MB / 377.6 MB, free: 2.555 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.01649, allocations: 15.98 kB / 377.6 MB, free: 2.539 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.01664, allocations: 60.7 kB / 377.6 MB, free: 2.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007083/0.01735, allocations: 352.8 kB / 378 MB, free: 2.109 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.01737, allocations: 17.03 kB / 378 MB, free: 2.094 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.571e-05/0.01744, allocations: 36.27 kB / 378 MB, free: 2.059 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005937/0.01803, allocations: 339.5 kB / 378.4 MB, free: 1.688 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.01805, allocations: 11.94 kB / 378.4 MB, free: 1.676 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.125e-05/0.01808, allocations: 8 kB / 378.4 MB, free: 1.668 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.01809, allocations: 8 kB / 378.4 MB, free: 1.66 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003686/0.01846, allocations: 201.8 kB / 378.6 MB, free: 1.465 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001821/0.02028, allocations: 1.351 MB / 380 MB, free: 36 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005095/0.02079, allocations: 190.4 kB / 380.1 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.02093, allocations: 67.42 kB / 380.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.02096, allocations: 4 kB / 380.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.379e-05/0.021, allocations: 42.55 kB / 380.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.713e-06/0.021, allocations: 0 / 380.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.001317/0.02232, allocations: 0.6202 MB / 380.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.02242, allocations: 128.5 kB / 381 MB, free: 14.87 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003596/0.02278, allocations: 292.8 kB / 381.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.02281, allocations: 33.7 kB / 381.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/0.023, allocations: 220.4 kB / 381.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.691e-05/0.02307, allocations: 59.48 kB / 381.6 MB, free: 14.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.171e-05/0.02316, allocations: 49.66 kB / 381.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002217/0.02338, allocations: 346.7 kB / 382 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.02349, allocations: 47.98 kB / 382 MB, free: 13.81 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/0.0237, allocations: 156.7 kB / 382.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003342/0.02403, allocations: 223.9 kB / 382.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.02403, allocations: 0 / 382.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004601/0.02449, allocations: 261.1 kB / 382.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.02451, allocations: 8 kB / 382.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.02452, allocations: 0 / 382.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/0.02454, allocations: 11.98 kB / 382.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003883/0.02493, allocations: 84.28 kB / 382.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/0.02609, allocations: 1.254 MB / 384 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.02623, allocations: 11.94 kB / 384 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.02626, allocations: 8 kB / 384 MB, free: 11.61 MB / 362.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 0.0004283/0.02668, allocations: 161.9 kB / 384.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.02679, allocations: 43.81 kB / 384.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003799/0.02717, allocations: 188.1 kB / 384.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.02717, allocations: 3.938 kB / 384.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.02717, allocations: 4 kB / 384.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.02717, allocations: 0 / 384.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008459/0.02802, allocations: 477.9 kB / 384.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.02802, allocations: 3.938 kB / 384.9 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002669/0.02829, allocations: 39.98 kB / 384.9 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.241e-06/0.0283, allocations: 4 kB / 384.9 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.02831, allocations: 8.016 kB / 384.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.02832, allocations: 4 kB / 384.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.02832, allocations: 0 / 384.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005874/0.02891, allocations: 0.4909 MB / 385.4 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/0.02896, allocations: 31.75 kB / 385.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.997e-05/0.02899, allocations: 0 / 385.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.02922, allocations: 8 kB / 385.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.02925, allocations: 11.97 kB / 385.5 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.02927, allocations: 8 kB / 385.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000222/0.02949, allocations: 195.1 kB / 385.7 MB, free: 9.883 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02949, allocations: 4 kB / 385.7 MB, free: 9.879 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004382/0.02993, allocations: 60 kB / 385.7 MB, free: 9.82 MB / 362.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 0.000135/0.03006, allocations: 103.2 kB / 385.8 MB, free: 9.711 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004183/0.03048, allocations: 152 kB / 386 MB, free: 9.559 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.03048, allocations: 0.875 kB / 386 MB, free: 9.559 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.03061, allocations: 71.92 kB / 386.1 MB, free: 9.488 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007357/0.03135, allocations: 91.62 kB / 386.2 MB, free: 9.406 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.03291, allocations: 0.7256 MB / 386.9 MB, free: 8.641 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.03317, allocations: 197.1 kB / 387.1 MB, free: 8.434 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001763/0.03335, allocations: 54.92 kB / 387.1 MB, free: 8.379 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.42e-05/0.03343, allocations: 32.5 kB / 387.2 MB, free: 8.348 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.03344, allocations: 0 / 387.2 MB, free: 8.348 MB / 362.7 MB Notification: Performance of Templates: time 0.007891/0.04133, allocations: 2.888 MB / 390 MB, free: 5.531 MB / 362.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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.701403887011111]