Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.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.001107/0.001107, 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.006323/0.006323, allocations: 160.2 kB / 24.7 MB, free: 9.43 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.8719/0.8719, allocations: 177.1 MB / 205 MB, free: 5.734 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.2244/0.2244, allocations: 29.41 MB / 290.8 MB, free: 2.438 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_ser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.071e-05/2.244e-05, allocations: 2.281 kB / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.00463/0.004653, allocations: 5.032 MB / 436.5 MB, free: 8.035 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002009/0.006662, allocations: 2.005 MB / 438.5 MB, free: 6.023 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001928/0.006855, allocations: 23.81 kB / 438.5 MB, free: 6 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003942/0.007249, allocations: 138.8 kB / 438.7 MB, free: 5.863 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005601/0.007809, allocations: 413.4 kB / 439.1 MB, free: 5.457 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.008101, allocations: 214.8 kB / 439.3 MB, free: 5.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006026/0.008703, allocations: 0.7431 MB / 440 MB, free: 4.504 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005017/0.009205, allocations: 331.8 kB / 440.3 MB, free: 4.172 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003642/0.009569, allocations: 426.8 kB / 440.8 MB, free: 3.754 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002443/0.009814, allocations: 247.2 kB / 441 MB, free: 3.512 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.496e-05/0.009859, allocations: 48 kB / 441.1 MB, free: 3.465 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.01001, allocations: 135.9 kB / 441.2 MB, free: 3.332 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.98e-05/0.01011, allocations: 155.5 kB / 441.3 MB, free: 3.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.01024, allocations: 195.5 kB / 441.5 MB, free: 2.988 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005399/0.01078, allocations: 0.7009 MB / 442.2 MB, free: 2.285 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.01078, allocations: 0 / 442.2 MB, free: 2.285 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01078, allocations: 0 / 442.2 MB, free: 2.285 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.01079, allocations: 0 / 442.2 MB, free: 2.285 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0009389/0.01173, allocations: 0.798 MB / 443 MB, free: 1.453 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.01176, allocations: 11.98 kB / 443 MB, free: 1.441 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.39e-05/0.01183, allocations: 64.55 kB / 443.1 MB, free: 1.379 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004929/0.01233, allocations: 423.2 kB / 443.5 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.01235, allocations: 33.12 kB / 443.5 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.718e-05/0.0124, allocations: 36 kB / 443.6 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004371/0.01283, allocations: 478.8 kB / 444.1 MB, free: 364 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.01285, allocations: 11.94 kB / 444.1 MB, free: 352 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.633e-05/0.01288, allocations: 16 kB / 444.1 MB, free: 336 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.01289, allocations: 8 kB / 444.1 MB, free: 328 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002933/0.01318, allocations: 278.3 kB / 444.4 MB, free: 48 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1664/0.1796, allocations: 1.638 MB / 446 MB, free: 53.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003227/0.1799, allocations: 237.3 kB / 446.2 MB, free: 53.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.666e-05/0.18, allocations: 82.11 kB / 446.3 MB, free: 53.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.18, allocations: 3.375 kB / 446.3 MB, free: 53.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001792/0.1802, allocations: 176 kB / 446.5 MB, free: 53.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 1.482e-06/0.1802, allocations: 0 / 446.5 MB, free: 53.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.001015/0.1812, allocations: 0.87 MB / 447.4 MB, free: 52.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.1812, allocations: 133.5 kB / 447.5 MB, free: 52.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.1815, allocations: 396.6 kB / 447.9 MB, free: 52.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.1815, allocations: 34.17 kB / 447.9 MB, free: 52.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.642e-05/0.1816, allocations: 275.9 kB / 448.2 MB, free: 52.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.1816, allocations: 92.67 kB / 448.3 MB, free: 52.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.301e-05/0.1817, allocations: 72.84 kB / 448.3 MB, free: 52.28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.265e-05/0.1817, allocations: 355.1 kB / 448.7 MB, free: 51.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.448e-05/0.1818, allocations: 81.45 kB / 448.8 MB, free: 51.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.1819, allocations: 240.2 kB / 449 MB, free: 51.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002191/0.1822, allocations: 307.7 kB / 449.3 MB, free: 51.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1822, allocations: 0 / 449.3 MB, free: 51.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004303/0.1826, allocations: 435.4 kB / 449.7 MB, free: 51.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1826, allocations: 7.125 kB / 449.7 MB, free: 51.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1826, allocations: 6.562 kB / 449.7 MB, free: 51.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002299/0.1828, allocations: 88.2 kB / 449.8 MB, free: 51.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.183, allocations: 76.31 kB / 449.9 MB, free: 51.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001184/0.1841, allocations: 1.867 MB / 451.8 MB, free: 49.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.1843, allocations: 20.22 kB / 451.8 MB, free: 49.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.1843, allocations: 20.05 kB / 451.8 MB, free: 49.67 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * 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 {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001275/0.1844, allocations: 199 kB / 452 MB, free: 49.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.087e-05/0.1844, allocations: 45.33 kB / 452 MB, free: 49.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003179/0.1848, allocations: 299.4 kB / 452.3 MB, free: 49.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.1848, allocations: 3.219 kB / 452.3 MB, free: 49.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.1848, allocations: 3 kB / 452.3 MB, free: 49.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.1848, allocations: 0 / 452.3 MB, free: 49.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005168/0.1853, allocations: 0.6538 MB / 453 MB, free: 48.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1853, allocations: 3.25 kB / 453 MB, free: 48.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.1854, allocations: 41.53 kB / 453 MB, free: 48.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001029/0.1855, allocations: 52.97 kB / 453.1 MB, free: 48.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.1855, allocations: 7.281 kB / 453.1 MB, free: 48.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000536/0.1861, allocations: 1.42 MB / 454.5 MB, free: 47.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1861, allocations: 3.25 kB / 454.5 MB, free: 47.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003725/0.1864, allocations: 0.4884 MB / 455 MB, free: 47.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.366e-05/0.1865, allocations: 53.86 kB / 455.1 MB, free: 47.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.1865, allocations: 7.188 kB / 455.1 MB, free: 47.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.1866, allocations: 18.2 kB / 455.1 MB, free: 47.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.1867, allocations: 20.48 kB / 455.1 MB, free: 47.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.1867, allocations: 13.05 kB / 455.1 MB, free: 47.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001501/0.1868, allocations: 274 kB / 455.4 MB, free: 47.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1868, allocations: 0 / 455.4 MB, free: 47.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003256/0.1872, allocations: 118.4 kB / 455.5 MB, free: 47.11 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dcm_ser.rotor.phi,dcm_ser.rotor.w,dcm_ser.motor.i,tabLoad.s) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * 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,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.0006909/0.1879, allocations: 0.4884 MB / 456 MB, free: 46.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004766/0.1883, allocations: 396.9 kB / 456.4 MB, free: 46.76 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1883, allocations: 192 / 456.4 MB, free: 46.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001734/0.1885, allocations: 243.2 kB / 456.6 MB, free: 46.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.1889, allocations: 118.3 kB / 456.7 MB, free: 46.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009527/0.1898, allocations: 1.014 MB / 457.7 MB, free: 45.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.19, allocations: 250.8 kB / 458 MB, free: 45.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.594e-05/0.19, allocations: 45.22 kB / 458 MB, free: 45.84 MB / 410.7 MB Notification: Performance of SimCode: time 9.02e-07/0.19, allocations: 3.188 kB / 458 MB, free: 45.84 MB / 410.7 MB Notification: Performance of Templates: time 0.006064/0.1961, allocations: 8.65 MB / 466.7 MB, free: 44.96 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.954713186249137] Failed to read output from testmodel.py, exit status != 0: 0.20169793255627155 0.208251507 0.195887463 Calling exit ...