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.0009718/0.0009718, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009486/0.0009486, allocations: 168.5 kB / 25.61 MB, free: 8.582 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.9288/0.9288, allocations: 177.1 MB / 206 MB, free: 4.473 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.1137/0.1137, allocations: 29.42 MB / 292 MB, free: 2.629 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.112e-06/1.112e-06, allocations: 0 / 370.9 MB, free: 32.33 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.119e-05/2.23e-05, allocations: 5.266 kB / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.004333/0.004355, allocations: 4.913 MB / 375.8 MB, free: 27.39 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002326/0.006681, allocations: 2.083 MB / 377.9 MB, free: 25.3 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002552/0.006936, allocations: 23.81 kB / 377.9 MB, free: 25.28 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004644/0.007401, allocations: 135 kB / 378 MB, free: 25.14 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007978/0.008198, allocations: 417.3 kB / 378.4 MB, free: 24.73 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004683/0.008667, allocations: 215.5 kB / 378.6 MB, free: 24.52 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007709/0.009437, allocations: 0.7342 MB / 379.4 MB, free: 23.79 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003365/0.009774, allocations: 344 kB / 379.7 MB, free: 23.45 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000526/0.0103, allocations: 450.8 kB / 380.1 MB, free: 23.01 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003066/0.01061, allocations: 243.3 kB / 380.4 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.696e-05/0.01065, allocations: 44 kB / 380.4 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002099/0.01086, allocations: 139.8 kB / 380.6 MB, free: 22.59 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.01097, allocations: 167.5 kB / 380.7 MB, free: 22.43 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.0111, allocations: 179.6 kB / 380.9 MB, free: 22.25 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005089/0.01161, allocations: 498.2 kB / 381.4 MB, free: 21.76 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.01161, allocations: 0 / 381.4 MB, free: 21.76 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.01161, allocations: 0 / 381.4 MB, free: 21.76 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.01162, allocations: 0 / 381.4 MB, free: 21.76 MB / 314.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.0008988/0.01252, allocations: 0.8978 MB / 382.3 MB, free: 20.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.01255, allocations: 8.031 kB / 382.3 MB, free: 20.82 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.01265, allocations: 88.56 kB / 382.4 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004553/0.01311, allocations: 442.7 kB / 382.8 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.01313, allocations: 29.12 kB / 382.8 MB, free: 20.24 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.22e-05/0.01317, allocations: 40 kB / 382.9 MB, free: 20.2 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002657/0.01343, allocations: 373.9 kB / 383.2 MB, free: 19.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.01345, allocations: 11.92 kB / 383.3 MB, free: 19.76 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/0.01347, allocations: 20 kB / 383.3 MB, free: 19.74 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.01348, allocations: 8 kB / 383.3 MB, free: 19.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/0.01361, allocations: 120.3 kB / 383.4 MB, free: 19.62 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.01461, allocations: 2.037 MB / 385.4 MB, free: 17.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002351/0.01484, allocations: 193.2 kB / 385.6 MB, free: 17.25 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.854e-05/0.01489, allocations: 51.17 kB / 385.7 MB, free: 17.19 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.364e-05/0.01491, allocations: 8 kB / 385.7 MB, free: 17.18 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001517/0.01507, allocations: 160.1 kB / 385.8 MB, free: 17 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 1.653e-06/0.01507, allocations: 0 / 385.8 MB, free: 17 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.000785/0.01585, allocations: 0.4978 MB / 386.3 MB, free: 16.46 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.01589, allocations: 132.5 kB / 386.5 MB, free: 16.3 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.01609, allocations: 414.3 kB / 386.9 MB, free: 15.89 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.0161, allocations: 33.7 kB / 386.9 MB, free: 15.85 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.741e-05/0.0162, allocations: 330.7 kB / 387.2 MB, free: 15.52 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.044e-05/0.01624, allocations: 95.22 kB / 387.3 MB, free: 15.42 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.62e-05/0.01631, allocations: 75.31 kB / 387.4 MB, free: 15.34 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.641e-05/0.01636, allocations: 0.5273 MB / 387.9 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.635e-05/0.01641, allocations: 35.91 kB / 388 MB, free: 14.77 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.584e-05/0.01651, allocations: 252 kB / 388.2 MB, free: 14.43 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.01667, allocations: 272.2 kB / 388.5 MB, free: 14.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01667, allocations: 3.938 kB / 388.5 MB, free: 14.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000377/0.01705, allocations: 329.8 kB / 388.8 MB, free: 13.76 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.01706, allocations: 9.875 kB / 388.8 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.01707, allocations: 4 kB / 388.8 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002679/0.01734, allocations: 96.03 kB / 388.9 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.01747, allocations: 63.91 kB / 389 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/0.01862, allocations: 2.24 MB / 391.2 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.01875, allocations: 35.91 kB / 391.2 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.01877, allocations: 12 kB / 391.3 MB, free: 11.19 MB / 314.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 9.967e-05/0.01887, allocations: 176.5 kB / 391.4 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.575e-05/0.01892, allocations: 55.64 kB / 391.5 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002718/0.01919, allocations: 206.7 kB / 391.7 MB, free: 10.74 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.01919, allocations: 4 kB / 391.7 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.01919, allocations: 0 / 391.7 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.0192, allocations: 19.91 kB / 391.7 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004539/0.01965, allocations: 0.5607 MB / 392.3 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.01966, allocations: 3.984 kB / 392.3 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.01979, allocations: 39.98 kB / 392.3 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001108/0.0199, allocations: 35.64 kB / 392.3 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.01991, allocations: 11.98 kB / 392.4 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005467/0.02046, allocations: 1.807 MB / 394.2 MB, free: 8.102 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.02046, allocations: 4 kB / 394.2 MB, free: 8.098 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003152/0.02078, allocations: 427.8 kB / 394.6 MB, free: 7.652 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.589e-05/0.02084, allocations: 63.62 kB / 394.6 MB, free: 7.59 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.02087, allocations: 4 kB / 394.7 MB, free: 7.586 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.86e-05/0.02097, allocations: 16.02 kB / 394.7 MB, free: 7.57 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.02102, allocations: 31.89 kB / 394.7 MB, free: 7.539 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.02103, allocations: 4 kB / 394.7 MB, free: 7.535 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001083/0.02114, allocations: 263 kB / 395 MB, free: 7.281 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02114, allocations: 0 / 395 MB, free: 7.281 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003655/0.0215, allocations: 119.9 kB / 395.1 MB, free: 7.164 MB / 314.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.000977/0.02248, allocations: 459.8 kB / 395.5 MB, free: 6.898 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004742/0.02295, allocations: 374.6 kB / 395.9 MB, free: 6.512 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.02296, allocations: 0 / 395.9 MB, free: 6.512 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.02314, allocations: 281.4 kB / 396.2 MB, free: 6.215 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.02356, allocations: 113.3 kB / 396.3 MB, free: 6.113 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.02501, allocations: 0.9645 MB / 397.2 MB, free: 5.105 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.661e-05/0.02507, allocations: 133.2 kB / 397.4 MB, free: 4.953 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001451/0.02522, allocations: 55.23 kB / 397.4 MB, free: 4.902 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.02538, allocations: 174.1 kB / 397.6 MB, free: 4.73 MB / 314.7 MB Notification: Performance of SimCode: time 1.203e-06/0.02539, allocations: 3.938 kB / 397.6 MB, free: 4.727 MB / 314.7 MB Notification: Performance of Templates: time 0.009314/0.0347, allocations: 7.095 MB / 404.7 MB, free: 13.77 MB / 330.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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2443005410023034]