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.001088/0.001088, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001189/0.001189, allocations: 165.5 kB / 24.99 MB, free: 8.789 MB / 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.038/1.038, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2506/0.2506, allocations: 29.42 MB / 291.2 MB, free: 2.512 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.342e-06/1.342e-06, allocations: 0 / 369.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.453e-05/2.587e-05, allocations: 5.266 kB / 369.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.005628/0.005654, allocations: 5.838 MB / 375.5 MB, free: 5.461 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003184/0.008839, allocations: 2.239 MB / 377.7 MB, free: 3.215 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004572/0.009296, allocations: 23.81 kB / 377.7 MB, free: 3.191 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005786/0.009874, allocations: 170.6 kB / 377.9 MB, free: 3.023 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009949/0.01087, allocations: 473.1 kB / 378.3 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000543/0.01141, allocations: 251.4 kB / 378.6 MB, free: 2.312 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001059/0.01247, allocations: 0.8872 MB / 379.5 MB, free: 1.422 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004862/0.01296, allocations: 401.3 kB / 379.9 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005852/0.01354, allocations: 0.4986 MB / 380.4 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004182/0.01396, allocations: 303.1 kB / 380.7 MB, free: 232 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.995e-05/0.01402, allocations: 60 kB / 380.7 MB, free: 172 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002435/0.01426, allocations: 143.9 kB / 380.9 MB, free: 28 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002107/0.01448, allocations: 199.4 kB / 381.1 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002312/0.01471, allocations: 207.5 kB / 381.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007947/0.0155, allocations: 0.5333 MB / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.01551, allocations: 0 / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.01551, allocations: 0 / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.01552, allocations: 0 / 381.8 MB, free: 15.09 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.001372/0.01689, allocations: 0.9568 MB / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.01693, allocations: 11.98 kB / 382.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.01708, allocations: 108.5 kB / 382.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007483/0.01783, allocations: 494.6 kB / 383.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.248e-05/0.01786, allocations: 33.12 kB / 383.4 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.01797, allocations: 52 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005787/0.01854, allocations: 438.6 kB / 383.9 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.01857, allocations: 7.938 kB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.989e-05/0.01861, allocations: 20 kB / 383.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.546e-05/0.01867, allocations: 20.92 kB / 383.9 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003287/0.019, allocations: 169.8 kB / 384.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/0.02106, allocations: 2.202 MB / 386.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003312/0.02139, allocations: 196.2 kB / 386.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.168e-05/0.02148, allocations: 63.16 kB / 386.5 MB, free: 10.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.0215, allocations: 4 kB / 386.5 MB, free: 10.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002188/0.02172, allocations: 154.8 kB / 386.7 MB, free: 9.902 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 1.733e-06/0.02173, allocations: 0 / 386.7 MB, free: 9.902 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.001292/0.02302, allocations: 0.7595 MB / 387.4 MB, free: 9.102 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/0.02308, allocations: 136.5 kB / 387.6 MB, free: 8.938 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004128/0.02349, allocations: 442.5 kB / 388 MB, free: 8.484 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.02351, allocations: 29.7 kB / 388 MB, free: 8.449 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.02371, allocations: 350.9 kB / 388.4 MB, free: 8.098 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.736e-05/0.02378, allocations: 95.39 kB / 388.5 MB, free: 8.004 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.02388, allocations: 84.05 kB / 388.6 MB, free: 7.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.02403, allocations: 0.5274 MB / 389.1 MB, free: 7.371 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.02414, allocations: 48.97 kB / 389.1 MB, free: 7.324 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.02434, allocations: 260.4 kB / 389.4 MB, free: 6.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003295/0.02467, allocations: 322.7 kB / 389.7 MB, free: 6.586 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.02467, allocations: 0 / 389.7 MB, free: 6.586 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006322/0.02531, allocations: 368.4 kB / 390.1 MB, free: 6.215 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.02533, allocations: 12.55 kB / 390.1 MB, free: 6.203 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.02534, allocations: 8 kB / 390.1 MB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003937/0.02573, allocations: 91.59 kB / 390.2 MB, free: 6.102 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.02594, allocations: 75.84 kB / 390.2 MB, free: 6.027 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001629/0.02756, allocations: 2.01 MB / 392.3 MB, free: 3.902 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.02776, allocations: 31.92 kB / 392.3 MB, free: 3.871 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/0.02778, allocations: 15.98 kB / 392.3 MB, free: 3.855 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.0001624/0.02795, allocations: 188.4 kB / 392.5 MB, free: 3.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.624e-05/0.02801, allocations: 51.72 kB / 392.5 MB, free: 3.609 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003976/0.02841, allocations: 220.9 kB / 392.7 MB, free: 3.379 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.02842, allocations: 4 kB / 392.8 MB, free: 3.375 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.02842, allocations: 4 kB / 392.8 MB, free: 3.371 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.453e-06/0.02843, allocations: 3.984 kB / 392.8 MB, free: 3.367 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008493/0.02928, allocations: 0.6557 MB / 393.4 MB, free: 2.668 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.02928, allocations: 7.938 kB / 393.4 MB, free: 2.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/0.02947, allocations: 39.92 kB / 393.5 MB, free: 2.621 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001534/0.02963, allocations: 47.62 kB / 393.5 MB, free: 2.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.02965, allocations: 4 kB / 393.5 MB, free: 2.566 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001061/0.03071, allocations: 1.842 MB / 395.4 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.03071, allocations: 0 / 395.4 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005049/0.03121, allocations: 434.4 kB / 395.8 MB, free: 148 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.874e-05/0.03131, allocations: 59.69 kB / 395.8 MB, free: 88 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.41e-05/0.03136, allocations: 8 kB / 395.8 MB, free: 80 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.0315, allocations: 8.031 kB / 395.9 MB, free: 72 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.155e-05/0.03157, allocations: 31.81 kB / 395.9 MB, free: 40 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.03159, allocations: 4 kB / 395.9 MB, free: 36 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002664/0.03185, allocations: 287 kB / 396.2 MB, free: 15.76 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03185, allocations: 0 / 396.2 MB, free: 15.76 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005269/0.03238, allocations: 127.9 kB / 396.3 MB, free: 15.64 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.001104/0.03349, allocations: 456.3 kB / 396.7 MB, free: 15.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006289/0.03411, allocations: 397.9 kB / 397.1 MB, free: 14.94 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.03412, allocations: 0 / 397.1 MB, free: 14.94 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002763/0.03439, allocations: 262.5 kB / 397.4 MB, free: 14.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000566/0.03496, allocations: 125.6 kB / 397.5 MB, free: 14.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/0.03706, allocations: 1.056 MB / 398.6 MB, free: 13.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.03718, allocations: 145.1 kB / 398.7 MB, free: 13.28 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001896/0.03737, allocations: 59.36 kB / 398.8 MB, free: 13.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.362e-05/0.03744, allocations: 36.48 kB / 398.8 MB, free: 13.18 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/0.03744, allocations: 0 / 398.8 MB, free: 13.18 MB / 378.7 MB Notification: Performance of Templates: time 0.01137/0.04881, allocations: 6.603 MB / 405.4 MB, free: 6.688 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.3900022900197655]