Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.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.0009486/0.0009486, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001362/0.00231, allocations: 449.8 kB / 10.44 MB, free: 252 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.001049/0.001049, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001359/0.002408, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.8978/0.8978, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07892/0.9767, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.117/0.117, allocations: 29.43 MB / 273.6 MB, free: 1.344 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1189/0.2359, allocations: 9.527 MB / 283.1 MB, free: 12.81 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_par,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 284.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005e-05/1.126e-05, allocations: 2.969 kB / 284.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.008575/0.008586, allocations: 5.251 MB / 289.7 MB, free: 7.75 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005346/0.01393, allocations: 2.29 MB / 292 MB, free: 5.977 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002847/0.01422, allocations: 27.47 kB / 292 MB, free: 5.961 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004464/0.01466, allocations: 160.6 kB / 292.1 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008937/0.01556, allocations: 458.8 kB / 292.6 MB, free: 5.477 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005235/0.01608, allocations: 261.2 kB / 292.8 MB, free: 5.273 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009711/0.01705, allocations: 0.8671 MB / 293.7 MB, free: 4.781 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004768/0.01753, allocations: 413.2 kB / 294.1 MB, free: 4.492 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006646/0.01819, allocations: 0.5452 MB / 294.7 MB, free: 4.16 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004102/0.0186, allocations: 287.3 kB / 294.9 MB, free: 4.008 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.165e-05/0.01868, allocations: 58.38 kB / 295 MB, free: 4.004 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002773/0.01896, allocations: 155.1 kB / 295.2 MB, free: 3.914 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001649/0.01913, allocations: 163.6 kB / 295.3 MB, free: 3.754 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001993/0.01933, allocations: 175.6 kB / 295.5 MB, free: 3.582 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006931/0.02002, allocations: 0.4983 MB / 296 MB, free: 3.082 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.108e-05/0.02003, allocations: 3.938 kB / 296 MB, free: 3.078 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.02003, allocations: 0 / 296 MB, free: 3.078 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.02004, allocations: 0 / 296 MB, free: 3.078 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001231/0.02127, allocations: 0.9371 MB / 296.9 MB, free: 2.117 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.0213, allocations: 8.031 kB / 296.9 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/0.02143, allocations: 72.88 kB / 297 MB, free: 2.039 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006429/0.02207, allocations: 429.1 kB / 297.4 MB, free: 1.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.16e-05/0.02211, allocations: 41.12 kB / 297.5 MB, free: 1.551 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.604e-05/0.0222, allocations: 40 kB / 297.5 MB, free: 1.512 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006434/0.02284, allocations: 402.2 kB / 297.9 MB, free: 1.074 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.02286, allocations: 3.953 kB / 297.9 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.99e-05/0.0229, allocations: 20 kB / 297.9 MB, free: 1.051 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-05/0.02296, allocations: 17 kB / 297.9 MB, free: 1.031 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002291/0.02318, allocations: 133.6 kB / 298.1 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001604/0.02479, allocations: 1.545 MB / 299.6 MB, free: 15.28 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/0.02499, allocations: 195.7 kB / 299.8 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.588e-05/0.02503, allocations: 42.69 kB / 299.8 MB, free: 15.01 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.02506, allocations: 12 kB / 299.9 MB, free: 15 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000143/0.0252, allocations: 138.9 kB / 300 MB, free: 14.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.423e-06/0.0252, allocations: 0 / 300 MB, free: 14.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007125/0.02591, allocations: 481.8 kB / 300.5 MB, free: 14.33 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.02595, allocations: 111 kB / 300.6 MB, free: 14.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.02618, allocations: 380.8 kB / 300.9 MB, free: 13.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.0262, allocations: 29.7 kB / 301 MB, free: 13.78 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.0263, allocations: 265.1 kB / 301.2 MB, free: 13.52 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.7e-05/0.02635, allocations: 95.19 kB / 301.3 MB, free: 13.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.79e-05/0.02642, allocations: 78.11 kB / 301.4 MB, free: 13.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.569e-05/0.0265, allocations: 350.7 kB / 301.7 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.282e-05/0.02655, allocations: 35.81 kB / 301.8 MB, free: 12.95 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.02666, allocations: 208 kB / 302 MB, free: 12.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.02683, allocations: 258.9 kB / 302.2 MB, free: 12.37 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.02684, allocations: 0 / 302.2 MB, free: 12.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003299/0.02717, allocations: 291.8 kB / 302.5 MB, free: 12.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.02718, allocations: 7.938 kB / 302.5 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.02718, allocations: 4 kB / 302.5 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002247/0.02741, allocations: 91.81 kB / 302.6 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.02757, allocations: 87.89 kB / 302.7 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001018/0.02859, allocations: 1.427 MB / 304.1 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.0287, allocations: 16 kB / 304.1 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.02872, allocations: 12 kB / 304.2 MB, free: 10.34 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (40): * Single equations (assignments): 39 * 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 {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 9.375e-05/0.02881, allocations: 136.5 kB / 304.3 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.458e-05/0.02884, allocations: 35.95 kB / 304.3 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002146/0.02906, allocations: 195.9 kB / 304.5 MB, free: 9.957 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.02906, allocations: 4 kB / 304.5 MB, free: 9.953 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.02906, allocations: 4 kB / 304.5 MB, free: 9.949 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.02907, allocations: 0 / 304.5 MB, free: 9.949 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004523/0.02952, allocations: 477.8 kB / 305 MB, free: 9.453 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.02952, allocations: 4 kB / 305 MB, free: 9.449 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.02967, allocations: 55.89 kB / 305 MB, free: 9.395 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.259e-05/0.02973, allocations: 43.72 kB / 305.1 MB, free: 9.352 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.984e-05/0.02983, allocations: 51.55 kB / 305.1 MB, free: 9.297 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.02984, allocations: 8 kB / 305.2 MB, free: 9.289 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006713/0.03051, allocations: 1.254 MB / 306.4 MB, free: 7.953 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.03051, allocations: 0 / 306.4 MB, free: 7.953 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002942/0.03081, allocations: 359.3 kB / 306.8 MB, free: 7.574 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.986e-05/0.03083, allocations: 11.98 kB / 306.8 MB, free: 7.562 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.286e-05/0.03093, allocations: 8 kB / 306.8 MB, free: 7.555 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.03097, allocations: 31.83 kB / 306.8 MB, free: 7.523 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.03098, allocations: 4 kB / 306.8 MB, free: 7.52 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001157/0.03109, allocations: 155.5 kB / 307 MB, free: 7.363 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03109, allocations: 0 / 307 MB, free: 7.363 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000276/0.03137, allocations: 131.9 kB / 307.1 MB, free: 7.234 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (dcm_par.rotor.phi,dcm_par.rotor.w,dcm_par.motor.i,dcm_par.motor.i_f,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 (22): * Single equations (assignments): 20 * 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.00117/0.03254, allocations: 0.6251 MB / 307.7 MB, free: 6.953 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004407/0.03298, allocations: 312.3 kB / 308 MB, free: 6.637 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.436e-05/0.033, allocations: 4 kB / 308 MB, free: 6.633 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004866/0.03348, allocations: 219.1 kB / 308.2 MB, free: 6.402 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009006/0.03438, allocations: 1.063 MB / 309.3 MB, free: 5.148 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007875/0.04226, allocations: 1.008 MB / 310.3 MB, free: 4.098 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.04236, allocations: 145.2 kB / 310.5 MB, free: 3.938 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002241/0.04259, allocations: 63.38 kB / 310.5 MB, free: 3.875 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/0.04278, allocations: 141.3 kB / 310.7 MB, free: 3.734 MB / 298.7 MB Notification: Performance of SimCode: time 2.465e-06/0.04279, allocations: 4 kB / 310.7 MB, free: 3.73 MB / 298.7 MB Notification: Performance of Templates: time 0.01003/0.05281, allocations: 7.441 MB / 318.1 MB, free: 12.42 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7579855490475893]