Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.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.0007959/0.0007959, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003898/0.003898, allocations: 160.7 kB / 24.7 MB, free: 9.418 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.8679/0.8679, allocations: 177.1 MB / 205 MB, free: 5.719 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.2369/0.2369, allocations: 29.41 MB / 290.8 MB, free: 2.406 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.Drives.DCmotor_pm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.21e-05/2.363e-05, allocations: 5.938 kB / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm): time 0.004635/0.004659, allocations: 5.083 MB / 436.6 MB, free: 7.977 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001614/0.006273, allocations: 1.503 MB / 438.1 MB, free: 6.469 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000221/0.006494, allocations: 23.81 kB / 438.1 MB, free: 6.445 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000335/0.006829, allocations: 123 kB / 438.2 MB, free: 6.324 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005465/0.007376, allocations: 329.8 kB / 438.5 MB, free: 6 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002908/0.007667, allocations: 155.7 kB / 438.7 MB, free: 5.848 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006026/0.008269, allocations: 0.7159 MB / 439.4 MB, free: 5.129 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003519/0.008621, allocations: 340.2 kB / 439.7 MB, free: 4.785 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003659/0.008987, allocations: 422.9 kB / 440.1 MB, free: 4.371 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002722/0.009259, allocations: 239.3 kB / 440.4 MB, free: 4.137 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.421e-05/0.009303, allocations: 48 kB / 440.4 MB, free: 4.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.797e-05/0.009351, allocations: 48 kB / 440.5 MB, free: 4.043 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.009465, allocations: 159.5 kB / 440.6 MB, free: 3.887 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.009597, allocations: 183.6 kB / 440.8 MB, free: 3.707 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004603/0.01006, allocations: 0.5958 MB / 441.4 MB, free: 3.109 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.01006, allocations: 4 kB / 441.4 MB, free: 3.105 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01006, allocations: 0 / 441.4 MB, free: 3.105 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.01007, allocations: 0 / 441.4 MB, free: 3.105 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.0009484/0.01102, allocations: 0.7173 MB / 442.1 MB, free: 2.359 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.01106, allocations: 15.98 kB / 442.1 MB, free: 2.344 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.052e-05/0.01114, allocations: 56.61 kB / 442.2 MB, free: 2.289 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00048/0.01162, allocations: 388.9 kB / 442.6 MB, free: 1.887 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-05/0.0117, allocations: 84.97 kB / 442.6 MB, free: 1.793 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.505e-05/0.01175, allocations: 48.12 kB / 442.7 MB, free: 1.746 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005196/0.01227, allocations: 0.5008 MB / 443.2 MB, free: 1.203 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.01229, allocations: 7.953 kB / 443.2 MB, free: 1.195 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.661e-05/0.01232, allocations: 16 kB / 443.2 MB, free: 1.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.01233, allocations: 12 kB / 443.2 MB, free: 1.168 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003898/0.01272, allocations: 347.6 kB / 443.6 MB, free: 0.832 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1703/0.183, allocations: 1.721 MB / 445.3 MB, free: 53.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/0.1833, allocations: 209.5 kB / 445.5 MB, free: 53.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.775e-05/0.1834, allocations: 91.77 kB / 445.6 MB, free: 53.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.1834, allocations: 5.781 kB / 445.6 MB, free: 53.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.1834, allocations: 38.28 kB / 445.6 MB, free: 53.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 2.204e-06/0.1834, allocations: 1.5 kB / 445.6 MB, free: 53.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009731/0.1844, allocations: 0.7737 MB / 446.4 MB, free: 53.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.1844, allocations: 109.9 kB / 446.5 MB, free: 53.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.1846, allocations: 311.5 kB / 446.8 MB, free: 53.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.1846, allocations: 25.7 kB / 446.8 MB, free: 53.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.343e-05/0.1847, allocations: 282.3 kB / 447.1 MB, free: 52.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.1847, allocations: 89.31 kB / 447.2 MB, free: 52.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.588e-05/0.1848, allocations: 71.61 kB / 447.3 MB, free: 52.67 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.757e-05/0.1848, allocations: 338.9 kB / 447.6 MB, free: 52.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.1849, allocations: 85.2 kB / 447.7 MB, free: 52.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.185, allocations: 215 kB / 447.9 MB, free: 52.13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005834/0.1856, allocations: 490 kB / 448.4 MB, free: 51.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1856, allocations: 0 / 448.4 MB, free: 51.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004003/0.186, allocations: 418.5 kB / 448.8 MB, free: 51.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.186, allocations: 6.438 kB / 448.8 MB, free: 51.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.186, allocations: 3.344 kB / 448.8 MB, free: 51.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000174/0.1862, allocations: 76.03 kB / 448.9 MB, free: 51.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.1863, allocations: 69.53 kB / 448.9 MB, free: 51.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009158/0.1873, allocations: 1.79 MB / 450.7 MB, free: 50.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.1874, allocations: 15.25 kB / 450.7 MB, free: 50.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.1874, allocations: 18.86 kB / 450.8 MB, free: 50.07 MB / 410.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.dcm_pm.rotor.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001161/0.1875, allocations: 196.6 kB / 451 MB, free: 49.92 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/0.1875, allocations: 28.81 kB / 451 MB, free: 49.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.051e-05/0.1876, allocations: 44.08 kB / 451 MB, free: 49.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1876, allocations: 5.031 kB / 451 MB, free: 49.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.1876, allocations: 0 / 451 MB, free: 49.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1876, allocations: 3.344 kB / 451 MB, free: 49.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005285/0.1881, allocations: 0.6201 MB / 451.7 MB, free: 49.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1881, allocations: 3.125 kB / 451.7 MB, free: 49.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.1882, allocations: 42.83 kB / 451.7 MB, free: 49.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.396e-05/0.1883, allocations: 25.03 kB / 451.7 MB, free: 49.47 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.1883, allocations: 4 kB / 451.7 MB, free: 49.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003341/0.1886, allocations: 1.256 MB / 453 MB, free: 48.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1886, allocations: 7.438 kB / 453 MB, free: 48.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.1889, allocations: 495.6 kB / 453.5 MB, free: 47.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.613e-05/0.189, allocations: 51.55 kB / 453.5 MB, free: 47.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.189, allocations: 11.28 kB / 453.5 MB, free: 47.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.281e-05/0.1891, allocations: 10.09 kB / 453.5 MB, free: 47.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.1891, allocations: 17.17 kB / 453.6 MB, free: 47.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.729e-06/0.1891, allocations: 3.219 kB / 453.6 MB, free: 47.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.971e-05/0.1892, allocations: 210.9 kB / 453.8 MB, free: 47.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1892, allocations: 4 kB / 453.8 MB, free: 47.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002783/0.1895, allocations: 85.19 kB / 453.9 MB, free: 47.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (dcm_pm.motor.i,loadInertia.w,frictTorq.phi) * 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 (21): * 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: 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.089e-05/0.1896, allocations: 103.4 kB / 454 MB, free: 47.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003695/0.1899, allocations: 362.5 kB / 454.3 MB, free: 47.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.1899, allocations: 3.25 kB / 454.3 MB, free: 47.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.1901, allocations: 207 kB / 454.5 MB, free: 47.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.1905, allocations: 106.6 kB / 454.6 MB, free: 47.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008138/0.1913, allocations: 0.8788 MB / 455.5 MB, free: 46.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.1914, allocations: 235.3 kB / 455.7 MB, free: 46.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.419e-05/0.1914, allocations: 31.16 kB / 455.8 MB, free: 46.61 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1914, allocations: 0 / 455.8 MB, free: 46.61 MB / 410.7 MB Notification: Performance of Templates: time 0.004586/0.196, allocations: 6.897 MB / 462.7 MB, free: 45.98 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.9834491945803165] Failed to read output from testmodel.py, exit status != 0: 0.20138663612306118 0.208125741 0.196671868 Calling exit ...