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.001348/0.001348, allocations: 84.94 kB / 20.68 MB, free: 1.023 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.001559/0.001559, allocations: 163.7 kB / 23.95 MB, free: 4.156 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.488/1.488, allocations: 177.1 MB / 204.3 MB, free: 9.184 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.1787/0.1787, allocations: 29.43 MB / 290.1 MB, free: 3.277 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.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.934e-06/1.934e-06, allocations: 0 / 430.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.665e-05/2.858e-05, allocations: 6.219 kB / 430.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.01011/0.01014, allocations: 4.432 MB / 435.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003771/0.01391, allocations: 1.405 MB / 436.6 MB, free: 12.06 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003804/0.01429, allocations: 23.81 kB / 436.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006814/0.01497, allocations: 107.1 kB / 436.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001236/0.01621, allocations: 290.1 kB / 437 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004962/0.0167, allocations: 107.7 kB / 437.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00133/0.01803, allocations: 0.5251 MB / 437.6 MB, free: 11.01 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003555/0.01839, allocations: 104.4 kB / 437.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008216/0.01921, allocations: 287.1 kB / 438 MB, free: 10.63 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005806/0.01979, allocations: 175.5 kB / 438.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.01989, allocations: 28 kB / 438.2 MB, free: 10.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.02004, allocations: 28 kB / 438.2 MB, free: 10.4 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002106/0.02025, allocations: 107.6 kB / 438.3 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003261/0.02058, allocations: 123.7 kB / 438.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007563/0.02133, allocations: 378.7 kB / 438.8 MB, free: 9.805 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.02134, allocations: 0 / 438.8 MB, free: 9.805 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.02134, allocations: 0 / 438.8 MB, free: 9.805 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.167e-05/0.02136, allocations: 0 / 438.8 MB, free: 9.805 MB / 366.1 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.001682/0.02304, allocations: 0.595 MB / 439.4 MB, free: 9.184 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.02309, allocations: 11.98 kB / 439.4 MB, free: 9.172 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.02324, allocations: 44.66 kB / 439.4 MB, free: 9.129 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.02434, allocations: 336.8 kB / 439.8 MB, free: 8.773 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.313e-05/0.02437, allocations: 21.03 kB / 439.8 MB, free: 8.754 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.932e-05/0.02446, allocations: 28.38 kB / 439.8 MB, free: 8.727 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008754/0.02534, allocations: 347.4 kB / 440.2 MB, free: 8.352 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.74e-05/0.02536, allocations: 0 / 440.2 MB, free: 8.352 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.062e-05/0.02541, allocations: 19.98 kB / 440.2 MB, free: 8.332 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.02543, allocations: 8 kB / 440.2 MB, free: 8.324 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006019/0.02603, allocations: 201.8 kB / 440.4 MB, free: 8.129 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002513/0.02855, allocations: 1.332 MB / 441.7 MB, free: 6.719 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006163/0.02916, allocations: 190.3 kB / 441.9 MB, free: 6.496 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002008/0.02937, allocations: 75.53 kB / 442 MB, free: 6.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.02939, allocations: 0 / 442 MB, free: 6.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.717e-05/0.02945, allocations: 46.48 kB / 442 MB, free: 6.355 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 2.034e-06/0.02945, allocations: 0 / 442 MB, free: 6.355 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.001784/0.03123, allocations: 0.6194 MB / 442.6 MB, free: 5.703 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000147/0.03138, allocations: 132.5 kB / 442.8 MB, free: 5.543 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004931/0.03187, allocations: 288.5 kB / 443.1 MB, free: 5.246 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.03191, allocations: 33.64 kB / 443.1 MB, free: 5.207 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002784/0.03219, allocations: 216.8 kB / 443.3 MB, free: 4.988 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.585e-05/0.03228, allocations: 71.42 kB / 443.4 MB, free: 4.918 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.03242, allocations: 53.66 kB / 443.4 MB, free: 4.859 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002411/0.03266, allocations: 346.7 kB / 443.8 MB, free: 4.512 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.03282, allocations: 51.97 kB / 443.8 MB, free: 4.461 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003337/0.03316, allocations: 144.8 kB / 444 MB, free: 4.273 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000602/0.03376, allocations: 220.7 kB / 444.2 MB, free: 4.012 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.03376, allocations: 0 / 444.2 MB, free: 4.012 MB / 366.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006779/0.03444, allocations: 257.1 kB / 444.4 MB, free: 3.754 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.03446, allocations: 11.94 kB / 444.4 MB, free: 3.742 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.03448, allocations: 4 kB / 444.4 MB, free: 3.738 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.853e-05/0.0345, allocations: 4 kB / 444.4 MB, free: 3.734 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005912/0.0351, allocations: 80.33 kB / 444.5 MB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/0.03651, allocations: 1.258 MB / 445.8 MB, free: 2.301 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002524/0.03677, allocations: 8 kB / 445.8 MB, free: 2.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.542e-05/0.0368, allocations: 12 kB / 445.8 MB, free: 2.281 MB / 366.1 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.0002859/0.03709, allocations: 165.6 kB / 446 MB, free: 2.109 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.03725, allocations: 35.95 kB / 446 MB, free: 2.074 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005461/0.0378, allocations: 191.2 kB / 446.2 MB, free: 1.887 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.03781, allocations: 4 kB / 446.2 MB, free: 1.883 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.03781, allocations: 0 / 446.2 MB, free: 1.883 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.03782, allocations: 3.984 kB / 446.2 MB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/0.03907, allocations: 462.1 kB / 446.6 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.03908, allocations: 7.875 kB / 446.6 MB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003808/0.03946, allocations: 39.97 kB / 446.7 MB, free: 1.344 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.817e-06/0.03947, allocations: 4 kB / 446.7 MB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.624e-05/0.03949, allocations: 4 kB / 446.7 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.0395, allocations: 8.031 kB / 446.7 MB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.0395, allocations: 0 / 446.7 MB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008323/0.04033, allocations: 494.6 kB / 447.2 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.021e-05/0.04041, allocations: 31.69 kB / 447.2 MB, free: 0.793 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.3e-05/0.04047, allocations: 4 kB / 447.2 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003468/0.04081, allocations: 4 kB / 447.2 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.305e-05/0.04088, allocations: 16.02 kB / 447.2 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/0.0409, allocations: 8 kB / 447.2 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003494/0.04125, allocations: 199 kB / 447.4 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.04125, allocations: 0 / 447.4 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008104/0.04206, allocations: 67.98 kB / 447.5 MB, free: 0.5 MB / 366.1 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.0001645/0.04222, allocations: 99.27 kB / 447.6 MB, free: 404 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005319/0.04276, allocations: 151.8 kB / 447.8 MB, free: 252 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.04276, allocations: 0 / 447.8 MB, free: 252 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.04293, allocations: 64.78 kB / 447.8 MB, free: 188 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.04411, allocations: 83.67 kB / 447.9 MB, free: 108 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2178/0.2619, allocations: 0.7158 MB / 448.6 MB, free: 29.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/0.2621, allocations: 199.5 kB / 448.8 MB, free: 29.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001948/0.2623, allocations: 53.72 kB / 448.9 MB, free: 29.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.181e-05/0.2623, allocations: 27.58 kB / 448.9 MB, free: 29.73 MB / 366.1 MB Notification: Performance of SimCode: time 1.132e-06/0.2623, allocations: 0 / 448.9 MB, free: 29.73 MB / 366.1 MB Notification: Performance of Templates: time 0.007578/0.2699, allocations: 2.86 MB / 451.7 MB, free: 29.44 MB / 366.1 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.8777076080441475] Failed to read output from testmodel.py, exit status != 0: 0.28182249888777733 0.293608264 0.269271107 Calling exit ...