Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.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.001919/0.001919, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.002367/0.002367, allocations: 161.3 kB / 24.27 MB, free: 152 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 1.583/1.583, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 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.3154/0.3154, allocations: 29.41 MB / 290.5 MB, free: 2.422 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_pm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.245e-05/3.423e-05, allocations: 2.312 kB / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm): time 0.0122/0.01224, allocations: 5.348 MB / 374.2 MB, free: 5.957 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004513/0.01675, allocations: 1.565 MB / 375.8 MB, free: 4.387 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003399/0.01709, allocations: 27.75 kB / 375.8 MB, free: 4.359 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005862/0.01767, allocations: 119 kB / 375.9 MB, free: 4.242 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001224/0.0189, allocations: 325.8 kB / 376.3 MB, free: 3.922 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006297/0.01953, allocations: 159.7 kB / 376.4 MB, free: 3.766 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001461/0.02099, allocations: 0.7158 MB / 377.1 MB, free: 3.047 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007891/0.02178, allocations: 348.3 kB / 377.5 MB, free: 2.707 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009717/0.02275, allocations: 422.9 kB / 377.9 MB, free: 2.293 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007355/0.02349, allocations: 255.3 kB / 378.1 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001335/0.02362, allocations: 52 kB / 378.2 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.02377, allocations: 47.94 kB / 378.2 MB, free: 1.945 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002922/0.02406, allocations: 171.5 kB / 378.4 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003739/0.02444, allocations: 183.6 kB / 378.6 MB, free: 1.598 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.02568, allocations: 0.5997 MB / 379.2 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.02568, allocations: 0 / 379.2 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.02568, allocations: 0 / 379.2 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.02569, allocations: 0 / 379.2 MB, free: 0.9961 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002382/0.02807, allocations: 0.8522 MB / 380 MB, free: 104 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.716e-05/0.02814, allocations: 15.92 kB / 380 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003385/0.02848, allocations: 88.69 kB / 380.1 MB, free: 16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.02973, allocations: 419.6 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001805/0.02991, allocations: 88.97 kB / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.03004, allocations: 44.12 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.0313, allocations: 0.4894 MB / 381.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.268e-05/0.03133, allocations: 7.953 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.662e-05/0.03141, allocations: 16 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/0.03143, allocations: 12 kB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008297/0.03226, allocations: 247.7 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004439/0.0367, allocations: 2.287 MB / 383.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006918/0.03739, allocations: 229.1 kB / 383.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002945/0.03768, allocations: 107 kB / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/0.03772, allocations: 4 kB / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.329e-05/0.03777, allocations: 41.33 kB / 384.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 2.765e-06/0.03777, allocations: 0 / 384.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.002518/0.04029, allocations: 0.7631 MB / 384.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/0.04041, allocations: 114.7 kB / 385 MB, free: 10.85 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007221/0.04114, allocations: 430.1 kB / 385.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.707e-05/0.04117, allocations: 29.7 kB / 385.4 MB, free: 10.37 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004107/0.04158, allocations: 335 kB / 385.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/0.04173, allocations: 95.2 kB / 385.8 MB, free: 9.945 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002065/0.04193, allocations: 91.3 kB / 385.9 MB, free: 9.848 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004411/0.04237, allocations: 0.5313 MB / 386.5 MB, free: 9.305 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002884/0.04266, allocations: 71.95 kB / 386.5 MB, free: 9.234 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005489/0.04321, allocations: 281.7 kB / 386.8 MB, free: 8.875 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001801/0.04501, allocations: 0.5183 MB / 387.3 MB, free: 8.277 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-05/0.04503, allocations: 7.984 kB / 387.3 MB, free: 8.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001382/0.04641, allocations: 416.6 kB / 387.7 MB, free: 7.852 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.04643, allocations: 4 kB / 387.7 MB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.04645, allocations: 8 kB / 387.8 MB, free: 7.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006447/0.04709, allocations: 91.97 kB / 387.8 MB, free: 7.746 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003808/0.04747, allocations: 67.84 kB / 387.9 MB, free: 7.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003943/0.05142, allocations: 2.38 MB / 390.3 MB, free: 5.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003486/0.05177, allocations: 24.05 kB / 390.3 MB, free: 5.156 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.246e-05/0.05181, allocations: 15.94 kB / 390.3 MB, free: 5.141 MB / 362.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.dcm_pm.rotor.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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.0003949/0.0522, allocations: 220.4 kB / 390.5 MB, free: 4.914 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.05235, allocations: 39.77 kB / 390.6 MB, free: 4.875 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.05245, allocations: 39.11 kB / 390.6 MB, free: 4.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.05245, allocations: 4 kB / 390.6 MB, free: 4.836 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.05246, allocations: 4 kB / 390.6 MB, free: 4.832 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.05247, allocations: 4 kB / 390.6 MB, free: 4.828 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00204/0.05451, allocations: 0.7465 MB / 391.4 MB, free: 4.031 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.05451, allocations: 0 / 391.4 MB, free: 4.031 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003895/0.0549, allocations: 43.92 kB / 391.4 MB, free: 3.988 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001727/0.05508, allocations: 31.61 kB / 391.4 MB, free: 3.953 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/0.0551, allocations: 0 / 391.4 MB, free: 3.953 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002074/0.05717, allocations: 1.779 MB / 393.2 MB, free: 2.051 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.05718, allocations: 0 / 393.2 MB, free: 2.051 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.05844, allocations: 0.5915 MB / 393.8 MB, free: 1.426 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.05859, allocations: 39.8 kB / 393.9 MB, free: 1.387 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.733e-05/0.05865, allocations: 4 kB / 393.9 MB, free: 1.383 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003184/0.05897, allocations: 16.11 kB / 393.9 MB, free: 1.367 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.05907, allocations: 23.91 kB / 393.9 MB, free: 1.344 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.0591, allocations: 4 kB / 393.9 MB, free: 1.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004395/0.05954, allocations: 263 kB / 394.2 MB, free: 1.082 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.05954, allocations: 3.938 kB / 394.2 MB, free: 1.078 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009576/0.0605, allocations: 88 kB / 394.3 MB, free: 0.9922 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (dcm_pm.motor.i,loadInertia.w,frictTorq.phi) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001967/0.06069, allocations: 106.7 kB / 394.4 MB, free: 0.8828 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001235/0.06193, allocations: 440 kB / 394.8 MB, free: 444 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.06193, allocations: 0 / 394.8 MB, free: 444 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000572/0.0625, allocations: 270.7 kB / 395 MB, free: 152 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.06352, allocations: 109.2 kB / 395.2 MB, free: 52 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002219/0.06574, allocations: 0.8529 MB / 396 MB, free: 15.15 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/0.06614, allocations: 235.8 kB / 396.2 MB, free: 14.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000376/0.06651, allocations: 47.25 kB / 396.3 MB, free: 14.85 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.06662, allocations: 28.5 kB / 396.3 MB, free: 14.82 MB / 378.7 MB Notification: Performance of SimCode: time 1.243e-06/0.06662, allocations: 0 / 396.3 MB, free: 14.82 MB / 378.7 MB Notification: Performance of Templates: time 0.01404/0.08066, allocations: 4.06 MB / 400.4 MB, free: 10.85 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.022556420066394]