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.0006839/0.0006839, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009832/0.001667, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.00103/0.00103, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001018/0.002048, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.8901/0.8901, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08172/0.9718, allocations: 53.64 MB / 243.3 MB, free: 15.6 MB / 250.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.1154/0.1154, allocations: 29.41 MB / 273.4 MB, free: 1.453 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1133/0.2287, allocations: 9.517 MB / 282.9 MB, free: 12.85 MB / 282.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.423e-06/1.423e-06, allocations: 0 / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.039e-05/1.181e-05, allocations: 2.312 kB / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.006526/0.006538, allocations: 5.023 MB / 289.2 MB, free: 8.016 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003652/0.01019, allocations: 2.139 MB / 291.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002603/0.01045, allocations: 21.97 kB / 291.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003611/0.01081, allocations: 151.7 kB / 291.5 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007399/0.01155, allocations: 396 kB / 291.9 MB, free: 5.922 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003863/0.01194, allocations: 223.1 kB / 292.1 MB, free: 5.746 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006593/0.0126, allocations: 0.717 MB / 292.9 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003909/0.01299, allocations: 355.1 kB / 293.2 MB, free: 5.09 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005495/0.01354, allocations: 475.4 kB / 293.7 MB, free: 4.812 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000393/0.01393, allocations: 252.8 kB / 293.9 MB, free: 4.672 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.71e-05/0.014, allocations: 47.75 kB / 294 MB, free: 4.672 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002331/0.01423, allocations: 144.1 kB / 294.1 MB, free: 4.629 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.956e-05/0.01433, allocations: 124.8 kB / 294.2 MB, free: 4.59 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.01449, allocations: 153.7 kB / 294.4 MB, free: 4.566 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004646/0.01495, allocations: 456 kB / 294.8 MB, free: 4.164 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.411e-05/0.01496, allocations: 4 kB / 294.8 MB, free: 4.16 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.01497, allocations: 0 / 294.8 MB, free: 4.16 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.01498, allocations: 0 / 294.8 MB, free: 4.16 MB / 282.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.00102/0.016, allocations: 0.8704 MB / 295.7 MB, free: 3.266 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.01603, allocations: 12.03 kB / 295.7 MB, free: 3.254 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.921e-05/0.01611, allocations: 68.86 kB / 295.8 MB, free: 3.188 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000425/0.01653, allocations: 381.3 kB / 296.1 MB, free: 2.785 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.01655, allocations: 33.12 kB / 296.2 MB, free: 2.754 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.504e-05/0.0166, allocations: 43.98 kB / 296.2 MB, free: 2.711 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002985/0.0169, allocations: 365.5 kB / 296.6 MB, free: 2.305 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.01691, allocations: 0 / 296.6 MB, free: 2.305 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.01693, allocations: 12 kB / 296.6 MB, free: 2.293 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.01694, allocations: 12 kB / 296.6 MB, free: 2.281 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.01707, allocations: 123.2 kB / 296.7 MB, free: 2.164 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.0181, allocations: 1.468 MB / 298.2 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.01832, allocations: 202.1 kB / 298.4 MB, free: 400 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.495e-05/0.01836, allocations: 46.67 kB / 298.4 MB, free: 344 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.01839, allocations: 4 kB / 298.4 MB, free: 340 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001452/0.01854, allocations: 147.3 kB / 298.6 MB, free: 172 kB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 1.242e-06/0.01854, allocations: 8 kB / 298.6 MB, free: 164 kB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.0007122/0.01925, allocations: 460.9 kB / 299 MB, free: 15.67 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003382/0.01959, allocations: 110.8 kB / 299.1 MB, free: 15.54 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.01981, allocations: 364.8 kB / 299.5 MB, free: 15.17 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.01983, allocations: 33.7 kB / 299.5 MB, free: 15.13 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.443e-05/0.01991, allocations: 237.2 kB / 299.8 MB, free: 14.89 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.54e-05/0.01996, allocations: 95.22 kB / 299.9 MB, free: 14.8 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-05/0.02002, allocations: 69.61 kB / 299.9 MB, free: 14.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.095e-05/0.0201, allocations: 354.7 kB / 300.3 MB, free: 14.37 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.537e-05/0.02015, allocations: 34.81 kB / 300.3 MB, free: 14.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.02025, allocations: 194.5 kB / 300.5 MB, free: 14.08 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.02042, allocations: 233.2 kB / 300.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.02042, allocations: 0 / 300.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003206/0.02074, allocations: 291.9 kB / 301 MB, free: 13.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.02075, allocations: 12.03 kB / 301 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.02076, allocations: 4 kB / 301 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002302/0.02099, allocations: 95.58 kB / 301.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.02114, allocations: 71.91 kB / 301.2 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001077/0.02221, allocations: 1.678 MB / 302.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.02233, allocations: 23.92 kB / 302.9 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.02234, allocations: 12 kB / 302.9 MB, free: 11.51 MB / 298.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.175e-05/0.02244, allocations: 132.6 kB / 303 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/0.02247, allocations: 35.94 kB / 303.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002291/0.0227, allocations: 180.9 kB / 303.2 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.0227, allocations: 7.938 kB / 303.3 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.0227, allocations: 0 / 303.3 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.02271, allocations: 7.984 kB / 303.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004439/0.02315, allocations: 474.4 kB / 303.7 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.02316, allocations: 4 kB / 303.7 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.02331, allocations: 47.97 kB / 303.8 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.964e-05/0.02337, allocations: 51.69 kB / 303.8 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001048/0.02347, allocations: 47.56 kB / 303.9 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.02349, allocations: 4 kB / 303.9 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005952/0.02408, allocations: 1.261 MB / 305.1 MB, free: 9.133 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.02408, allocations: 0 / 305.1 MB, free: 9.133 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002975/0.02438, allocations: 371.1 kB / 305.5 MB, free: 8.746 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.958e-05/0.02441, allocations: 8 kB / 305.5 MB, free: 8.738 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.948e-05/0.0245, allocations: 4 kB / 305.5 MB, free: 8.734 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.02454, allocations: 23.95 kB / 305.5 MB, free: 8.711 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.02455, allocations: 11.98 kB / 305.5 MB, free: 8.699 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001123/0.02466, allocations: 143.5 kB / 305.7 MB, free: 8.555 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.02466, allocations: 4.031 kB / 305.7 MB, free: 8.551 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003058/0.02497, allocations: 131.7 kB / 305.8 MB, free: 8.422 MB / 298.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.001465/0.02643, allocations: 0.6189 MB / 306.4 MB, free: 8.152 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003711/0.0268, allocations: 320.7 kB / 306.7 MB, free: 7.824 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/0.02681, allocations: 8.188 kB / 306.8 MB, free: 7.816 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001751/0.02699, allocations: 214.1 kB / 307 MB, free: 7.59 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.02735, allocations: 158.6 kB / 307.1 MB, free: 7.441 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006516/0.03386, allocations: 0.9316 MB / 308.1 MB, free: 6.469 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.996e-05/0.03394, allocations: 133.2 kB / 308.2 MB, free: 6.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001234/0.03407, allocations: 55.25 kB / 308.2 MB, free: 6.266 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.03423, allocations: 137.3 kB / 308.4 MB, free: 6.129 MB / 298.7 MB Notification: Performance of SimCode: time 9.62e-07/0.03423, allocations: 0 / 308.4 MB, free: 6.129 MB / 298.7 MB Notification: Performance of Templates: time 0.008868/0.0431, allocations: 7.249 MB / 315.6 MB, free: 15.01 MB / 314.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: 2.751144121401012]