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.001464/0.001464, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001677/0.001677, allocations: 165 kB / 24.56 MB, free: 12 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.108/1.108, allocations: 177.1 MB / 205 MB, free: 5.613 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.2738/0.2738, allocations: 29.42 MB / 290.9 MB, free: 2.5 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 2.054e-06/2.054e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.422e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.005142/0.005166, allocations: 4.96 MB / 374.6 MB, free: 6 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002579/0.007745, allocations: 2.095 MB / 376.7 MB, free: 3.898 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002651/0.00801, allocations: 27.75 kB / 376.7 MB, free: 3.871 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000508/0.008518, allocations: 143 kB / 376.9 MB, free: 3.73 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008352/0.009353, allocations: 417.3 kB / 377.3 MB, free: 3.32 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004135/0.009766, allocations: 211.5 kB / 377.5 MB, free: 3.113 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007979/0.01056, allocations: 0.7431 MB / 378.2 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003938/0.01096, allocations: 340 kB / 378.5 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005388/0.0115, allocations: 438.9 kB / 379 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000319/0.01182, allocations: 251.2 kB / 379.2 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.409e-05/0.01187, allocations: 48 kB / 379.3 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002075/0.01208, allocations: 131.8 kB / 379.4 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.01219, allocations: 163.5 kB / 379.6 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.01234, allocations: 187.6 kB / 379.7 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005664/0.0129, allocations: 490.2 kB / 380.2 MB, free: 368 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.01291, allocations: 0 / 380.2 MB, free: 368 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.01291, allocations: 3.984 kB / 380.2 MB, free: 364 kB / 346.7 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.01292, allocations: 0 / 380.2 MB, free: 364 kB / 346.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.001086/0.014, allocations: 0.8902 MB / 381.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.01404, allocations: 15.92 kB / 381.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.01417, allocations: 88.56 kB / 381.2 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005225/0.01469, allocations: 446.7 kB / 381.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.01471, allocations: 33.12 kB / 381.7 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.018e-05/0.01476, allocations: 36 kB / 381.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004211/0.01519, allocations: 398 kB / 382.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.0152, allocations: 3.938 kB / 382.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/0.01523, allocations: 16 kB / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.01524, allocations: 12 kB / 382.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002129/0.01546, allocations: 147.7 kB / 382.3 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001486/0.01694, allocations: 2.037 MB / 384.3 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003536/0.0173, allocations: 201.2 kB / 384.5 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.332e-05/0.01738, allocations: 59.11 kB / 384.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.01741, allocations: 4 kB / 384.6 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/0.01763, allocations: 164.3 kB / 384.7 MB, free: 11.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 2.685e-06/0.01763, allocations: 0 / 384.7 MB, free: 11.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.0013/0.01893, allocations: 0.7278 MB / 385.5 MB, free: 10.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.747e-05/0.019, allocations: 136.5 kB / 385.6 MB, free: 10.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003432/0.01934, allocations: 430.5 kB / 386 MB, free: 10.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.01937, allocations: 29.7 kB / 386 MB, free: 10.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.01952, allocations: 318.8 kB / 386.4 MB, free: 9.816 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.616e-05/0.01958, allocations: 99.31 kB / 386.5 MB, free: 9.719 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.952e-05/0.01966, allocations: 83.3 kB / 386.5 MB, free: 9.629 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.01981, allocations: 0.5196 MB / 387.1 MB, free: 9.098 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.16e-05/0.01989, allocations: 39.97 kB / 387.1 MB, free: 9.059 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.02006, allocations: 255.6 kB / 387.3 MB, free: 8.723 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002472/0.02031, allocations: 294 kB / 387.6 MB, free: 8.359 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.02031, allocations: 3.938 kB / 387.6 MB, free: 8.355 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004797/0.02079, allocations: 356.5 kB / 388 MB, free: 7.996 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.02081, allocations: 8 kB / 388 MB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.02081, allocations: 4 kB / 388 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003266/0.02114, allocations: 100 kB / 388.1 MB, free: 7.883 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.02128, allocations: 63.91 kB / 388.2 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00156/0.02284, allocations: 2.289 MB / 390.4 MB, free: 5.418 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.02297, allocations: 16 kB / 390.5 MB, free: 5.402 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.02299, allocations: 28 kB / 390.5 MB, free: 5.375 MB / 362.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.0001169/0.02311, allocations: 172.5 kB / 390.7 MB, free: 5.195 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.863e-05/0.02316, allocations: 55.64 kB / 390.7 MB, free: 5.141 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003294/0.02349, allocations: 241 kB / 390.9 MB, free: 4.887 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.02349, allocations: 4 kB / 390.9 MB, free: 4.883 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.02349, allocations: 0 / 390.9 MB, free: 4.883 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.0235, allocations: 0 / 390.9 MB, free: 4.883 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006357/0.02413, allocations: 0.6417 MB / 391.6 MB, free: 4.195 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.02414, allocations: 0 / 391.6 MB, free: 4.195 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.02427, allocations: 39.98 kB / 391.6 MB, free: 4.156 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001366/0.02441, allocations: 51.56 kB / 391.7 MB, free: 4.102 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.02443, allocations: 4 kB / 391.7 MB, free: 4.098 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009068/0.02533, allocations: 1.83 MB / 393.5 MB, free: 2.145 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.02534, allocations: 8.078 kB / 393.5 MB, free: 2.137 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004194/0.02576, allocations: 446.5 kB / 394 MB, free: 1.668 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.586e-05/0.02583, allocations: 59.69 kB / 394 MB, free: 1.609 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.02586, allocations: 4 kB / 394 MB, free: 1.605 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.02596, allocations: 19.92 kB / 394 MB, free: 1.586 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.17e-05/0.02602, allocations: 19.97 kB / 394.1 MB, free: 1.566 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.02603, allocations: 12.02 kB / 394.1 MB, free: 1.555 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001799/0.02621, allocations: 279.1 kB / 394.3 MB, free: 1.285 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02621, allocations: 0 / 394.3 MB, free: 1.285 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003772/0.02659, allocations: 119.8 kB / 394.5 MB, free: 1.168 MB / 362.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.0009787/0.02757, allocations: 449.7 kB / 394.9 MB, free: 0.8906 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005614/0.02813, allocations: 401.4 kB / 395.3 MB, free: 488 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.02813, allocations: 0 / 395.3 MB, free: 488 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002243/0.02836, allocations: 286.2 kB / 395.6 MB, free: 180 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.02876, allocations: 110.8 kB / 395.7 MB, free: 72 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.03051, allocations: 0.9738 MB / 396.7 MB, free: 15.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.03062, allocations: 133.2 kB / 396.8 MB, free: 14.9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001755/0.0308, allocations: 59.23 kB / 396.8 MB, free: 14.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.744e-05/0.03089, allocations: 40.44 kB / 396.9 MB, free: 14.8 MB / 378.7 MB Notification: Performance of SimCode: time 1.843e-06/0.03089, allocations: 0 / 396.9 MB, free: 14.8 MB / 378.7 MB Notification: Performance of Templates: time 0.01/0.04089, allocations: 6.85 MB / 403.7 MB, free: 8.059 MB / 378.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.393417565152049]