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.0009148/0.0009148, allocations: 79.58 kB / 21.18 MB, free: 3.387 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.0009267/0.0009267, allocations: 161 kB / 24.56 MB, free: 20 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 0.9834/0.9834, allocations: 177.1 MB / 205 MB, free: 5.602 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.2612/0.2612, allocations: 29.42 MB / 290.9 MB, free: 2.457 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_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.483e-06/1.483e-06, allocations: 0 / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.591e-05/2.739e-05, allocations: 5.406 kB / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.006751/0.006778, allocations: 5.178 MB / 374.8 MB, free: 5.77 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003965/0.01074, allocations: 2.235 MB / 377 MB, free: 3.527 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005929/0.01134, allocations: 19.81 kB / 377.1 MB, free: 3.508 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007272/0.01206, allocations: 170.7 kB / 377.2 MB, free: 3.34 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001324/0.01339, allocations: 465 kB / 377.7 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008998/0.01429, allocations: 255.4 kB / 377.9 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001279/0.01557, allocations: 0.8833 MB / 378.8 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005515/0.01612, allocations: 405.3 kB / 379.2 MB, free: 1.344 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006803/0.0168, allocations: 494.8 kB / 379.7 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004897/0.01729, allocations: 315.1 kB / 380 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.083e-05/0.01737, allocations: 52 kB / 380.1 MB, free: 0.5 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003499/0.01772, allocations: 139.9 kB / 380.2 MB, free: 372 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001962/0.01791, allocations: 199.4 kB / 380.4 MB, free: 172 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000241/0.01816, allocations: 211.6 kB / 380.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008504/0.01901, allocations: 0.5255 MB / 381.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.01901, allocations: 0 / 381.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.01901, allocations: 0 / 381.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.01902, allocations: 0 / 381.1 MB, free: 15.43 MB / 362.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.001435/0.02046, allocations: 0.9724 MB / 382.1 MB, free: 14.42 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.0205, allocations: 11.98 kB / 382.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.02066, allocations: 96.56 kB / 382.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008145/0.02148, allocations: 498.5 kB / 382.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.999e-05/0.02152, allocations: 41.12 kB / 382.7 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.02164, allocations: 47.98 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006186/0.02226, allocations: 434.6 kB / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/0.02229, allocations: 7.953 kB / 383.2 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.114e-05/0.02233, allocations: 16 kB / 383.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.75e-05/0.02241, allocations: 24.92 kB / 383.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003322/0.02274, allocations: 169.7 kB / 383.4 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002367/0.02511, allocations: 2.206 MB / 385.6 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000928/0.02603, allocations: 192.2 kB / 385.8 MB, free: 10.49 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.527e-05/0.02613, allocations: 63.16 kB / 385.9 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.438e-05/0.02616, allocations: 4 kB / 385.9 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002394/0.0264, allocations: 156 kB / 386 MB, free: 10.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 2.765e-06/0.02641, allocations: 0 / 386 MB, free: 10.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.001366/0.02777, allocations: 0.7543 MB / 386.8 MB, free: 9.438 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.259e-05/0.02784, allocations: 136.5 kB / 386.9 MB, free: 9.273 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004252/0.02827, allocations: 438.6 kB / 387.3 MB, free: 8.824 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.0283, allocations: 29.7 kB / 387.4 MB, free: 8.789 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/0.0285, allocations: 354.9 kB / 387.7 MB, free: 8.434 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.287e-05/0.02858, allocations: 107.6 kB / 387.8 MB, free: 8.328 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.02868, allocations: 79.8 kB / 387.9 MB, free: 8.238 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.02886, allocations: 0.5196 MB / 388.4 MB, free: 7.707 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.02896, allocations: 48.97 kB / 388.5 MB, free: 7.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002242/0.0312, allocations: 264.6 kB / 388.7 MB, free: 7.312 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004025/0.0316, allocations: 316 kB / 389 MB, free: 6.926 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.03161, allocations: 0 / 389 MB, free: 6.926 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007226/0.03233, allocations: 376.8 kB / 389.4 MB, free: 6.547 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.03235, allocations: 12.12 kB / 389.4 MB, free: 6.535 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.03237, allocations: 4 kB / 389.4 MB, free: 6.531 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004002/0.03277, allocations: 91.59 kB / 389.5 MB, free: 6.438 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.03297, allocations: 75.84 kB / 389.6 MB, free: 6.363 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00193/0.0349, allocations: 2.025 MB / 391.6 MB, free: 4.227 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/0.03513, allocations: 23.89 kB / 391.6 MB, free: 4.203 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/0.03516, allocations: 19.98 kB / 391.6 MB, free: 4.184 MB / 362.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 0.000211/0.03537, allocations: 180.4 kB / 391.8 MB, free: 3.996 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.988e-05/0.03544, allocations: 51.72 kB / 391.9 MB, free: 3.945 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004232/0.03586, allocations: 227.7 kB / 392.1 MB, free: 3.711 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.03586, allocations: 0 / 392.1 MB, free: 3.711 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.03587, allocations: 7.984 kB / 392.1 MB, free: 3.703 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.03588, allocations: 4 kB / 392.1 MB, free: 3.699 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009568/0.03683, allocations: 0.6569 MB / 392.8 MB, free: 2.996 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.03684, allocations: 0 / 392.8 MB, free: 2.996 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.03702, allocations: 43.92 kB / 392.8 MB, free: 2.953 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000182/0.0372, allocations: 43.62 kB / 392.8 MB, free: 2.906 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.03722, allocations: 8 kB / 392.9 MB, free: 2.898 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001248/0.03847, allocations: 1.83 MB / 394.7 MB, free: 0.9453 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.03847, allocations: 0 / 394.7 MB, free: 0.9453 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005232/0.039, allocations: 438.5 kB / 395.1 MB, free: 496 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.03912, allocations: 63.61 kB / 395.2 MB, free: 432 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.999e-05/0.03916, allocations: 8 kB / 395.2 MB, free: 424 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.0393, allocations: 16.09 kB / 395.2 MB, free: 408 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.746e-05/0.03937, allocations: 27.81 kB / 395.2 MB, free: 380 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.03939, allocations: 4 kB / 395.2 MB, free: 376 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003382/0.03973, allocations: 287 kB / 395.5 MB, free: 96 kB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03973, allocations: 0 / 395.5 MB, free: 96 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005579/0.04029, allocations: 127.9 kB / 395.6 MB, free: 15.96 MB / 378.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.001163/0.04145, allocations: 451.8 kB / 396.1 MB, free: 15.69 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006853/0.04214, allocations: 386 kB / 396.5 MB, free: 15.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.04214, allocations: 1.125 kB / 396.5 MB, free: 15.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002592/0.0424, allocations: 265.5 kB / 396.7 MB, free: 15.01 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005656/0.04296, allocations: 126.7 kB / 396.8 MB, free: 14.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.04533, allocations: 1.051 MB / 397.9 MB, free: 13.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.04547, allocations: 145.1 kB / 398 MB, free: 13.63 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002088/0.04568, allocations: 63.36 kB / 398.1 MB, free: 13.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.388e-05/0.04576, allocations: 36.48 kB / 398.1 MB, free: 13.52 MB / 378.7 MB Notification: Performance of SimCode: time 9.92e-07/0.04576, allocations: 0 / 398.1 MB, free: 13.52 MB / 378.7 MB Notification: Performance of Templates: time 0.01207/0.05783, allocations: 6.606 MB / 404.7 MB, free: 7.031 MB / 378.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: 3.412345846183598]