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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 112 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 187.8 kB / 23.72 MB, free: 4.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.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.2059/0.2059, allocations: 38.53 MB / 346.3 MB, free: 2.094 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002057/0.002057, allocations: 67.88 kB / 484.5 MB, free: 11.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4462/0.4483, allocations: 61.29 MB / 0.533 GB, free: 5.785 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.006493/0.4548, allocations: 5.349 MB / 0.5382 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002799/0.4576, allocations: 2.01 MB / 0.5402 GB, free: 308 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003351/0.4579, allocations: 22.81 kB / 0.5402 GB, free: 296 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004868/0.4584, allocations: 146.4 kB / 0.5404 GB, free: 176 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008291/0.4592, allocations: 361.6 kB / 0.5407 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005239/0.4598, allocations: 222.9 kB / 0.5409 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009539/0.4607, allocations: 0.7016 MB / 0.5416 GB, free: 15.3 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004703/0.4612, allocations: 325 kB / 0.5419 GB, free: 15.08 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004758/0.4617, allocations: 309.6 kB / 0.5422 GB, free: 14.9 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005176/0.4622, allocations: 292.5 kB / 0.5425 GB, free: 14.72 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.294e-05/0.4623, allocations: 50.38 kB / 0.5425 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002187/0.4625, allocations: 97.16 kB / 0.5426 GB, free: 14.69 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001854/0.4627, allocations: 157.1 kB / 0.5428 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000287/0.4629, allocations: 262 kB / 0.543 GB, free: 14.4 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009883/0.4639, allocations: 0.6555 MB / 0.5437 GB, free: 13.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.4639, allocations: 0 / 0.5437 GB, free: 13.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4639, allocations: 0 / 0.5437 GB, free: 13.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.464, allocations: 1.25 kB / 0.5437 GB, free: 13.93 MB / 398.1 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.001669/0.4656, allocations: 0.7817 MB / 0.5444 GB, free: 13.31 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.4657, allocations: 13.56 kB / 0.5445 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.4658, allocations: 59.8 kB / 0.5445 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008336/0.4666, allocations: 425.9 kB / 0.5449 GB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.4666, allocations: 30 kB / 0.5449 GB, free: 12.92 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.061e-05/0.4667, allocations: 39.05 kB / 0.545 GB, free: 12.9 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007505/0.4675, allocations: 461.7 kB / 0.5454 GB, free: 12.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.4675, allocations: 5.203 kB / 0.5454 GB, free: 12.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.967e-05/0.4675, allocations: 11.31 kB / 0.5454 GB, free: 12.56 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.4675, allocations: 10.28 kB / 0.5454 GB, free: 12.56 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005/0.468, allocations: 283.2 kB / 0.5457 GB, free: 12.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002422/0.4705, allocations: 1.786 MB / 0.5475 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006047/0.4711, allocations: 247.3 kB / 0.5477 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.4712, allocations: 79.23 kB / 0.5478 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.753e-05/0.4713, allocations: 7.281 kB / 0.5478 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003964/0.4717, allocations: 183.8 kB / 0.548 GB, free: 10.46 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 2.574e-06/0.4717, allocations: 1.281 kB / 0.548 GB, free: 10.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.00221/0.4739, allocations: 0.851 MB / 0.5488 GB, free: 9.871 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.474, allocations: 133.2 kB / 0.5489 GB, free: 9.715 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005673/0.4746, allocations: 407.5 kB / 0.5493 GB, free: 9.457 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.625e-05/0.4746, allocations: 31.11 kB / 0.5493 GB, free: 9.422 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002315/0.4748, allocations: 270.7 kB / 0.5496 GB, free: 9.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.859e-05/0.4749, allocations: 90.75 kB / 0.5497 GB, free: 9.102 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.475, allocations: 68 kB / 0.5497 GB, free: 9.055 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002001/0.4752, allocations: 361.2 kB / 0.5501 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.4754, allocations: 83.67 kB / 0.5502 GB, free: 8.664 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003125/0.4757, allocations: 209.4 kB / 0.5504 GB, free: 8.457 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004857/0.4762, allocations: 317 kB / 0.5507 GB, free: 8.195 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.4762, allocations: 1.094 kB / 0.5507 GB, free: 8.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00094/0.4772, allocations: 431.7 kB / 0.5511 GB, free: 7.957 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.4772, allocations: 6.469 kB / 0.5511 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.4772, allocations: 3.719 kB / 0.5511 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004558/0.4776, allocations: 94.17 kB / 0.5512 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.4779, allocations: 67.34 kB / 0.5512 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002698/0.4806, allocations: 1.915 MB / 0.5531 GB, free: 6.152 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000317/0.4809, allocations: 22.86 kB / 0.5531 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.494e-05/0.4809, allocations: 17.09 kB / 0.5532 GB, free: 6.137 MB / 398.1 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.0003003/0.4812, allocations: 191.6 kB / 0.5533 GB, free: 5.973 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.189e-05/0.4813, allocations: 42.53 kB / 0.5534 GB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006717/0.482, allocations: 303.9 kB / 0.5537 GB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.482, allocations: 7.266 kB / 0.5537 GB, free: 5.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.482, allocations: 1.125 kB / 0.5537 GB, free: 5.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.482, allocations: 5.141 kB / 0.5537 GB, free: 5.746 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.4833, allocations: 0.732 MB / 0.5544 GB, free: 5.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.4833, allocations: 1.188 kB / 0.5544 GB, free: 5.172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002753/0.4835, allocations: 46.59 kB / 0.5544 GB, free: 5.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002243/0.4838, allocations: 51.34 kB / 0.5545 GB, free: 5.129 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.628e-05/0.4838, allocations: 11.3 kB / 0.5545 GB, free: 5.121 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00156/0.4853, allocations: 1.443 MB / 0.5559 GB, free: 3.707 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4853, allocations: 1.25 kB / 0.5559 GB, free: 3.707 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000893/0.4862, allocations: 0.4908 MB / 0.5564 GB, free: 3.367 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/0.4864, allocations: 59.08 kB / 0.5564 GB, free: 3.324 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.246e-05/0.4865, allocations: 6.344 kB / 0.5565 GB, free: 3.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002465/0.4867, allocations: 15.83 kB / 0.5565 GB, free: 3.312 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.519e-05/0.4868, allocations: 31.52 kB / 0.5565 GB, free: 3.289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.4868, allocations: 7.594 kB / 0.5565 GB, free: 3.289 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003839/0.4872, allocations: 290.2 kB / 0.5568 GB, free: 3.102 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4872, allocations: 0 / 0.5568 GB, free: 3.102 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006734/0.4879, allocations: 104.5 kB / 0.5569 GB, free: 3.059 MB / 398.1 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.001461/0.4893, allocations: 396.6 kB / 0.5573 GB, free: 2.809 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.4904, allocations: 399 kB / 0.5576 GB, free: 2.406 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.4904, allocations: 0 / 0.5576 GB, free: 2.406 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004379/0.4908, allocations: 238.5 kB / 0.5579 GB, free: 2.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007528/0.4915, allocations: 128.2 kB / 0.558 GB, free: 2.039 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/0.4937, allocations: 1.112 MB / 0.5591 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005552/0.4943, allocations: 0.8543 MB / 0.5599 GB, free: 12 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002531/0.4945, allocations: 63.36 kB / 0.56 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.829e-05/0.4946, allocations: 35.38 kB / 0.56 GB, free: 15.91 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4946, allocations: 0 / 0.56 GB, free: 15.91 MB / 414.1 MB Notification: Performance of Templates: time 0.01409/0.5087, allocations: 6.548 MB / 0.5664 GB, free: 9.434 MB / 414.1 MB " [Timeout remaining time 659] 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.593775573186576] Failed to read output from testmodel.py, exit status != 0: 0.518114167265594 0.5333106350000001 0.06599015800000001 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f5bedd197b0>