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.001516/0.001516, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001332/0.001332, allocations: 168.6 kB / 24.82 MB, free: 9.273 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.034/1.034, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.3103/0.3103, allocations: 29.42 MB / 291.2 MB, free: 2.469 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.853e-06/1.853e-06, allocations: 0 / 370.1 MB, free: 10.76 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.737e-05/2.922e-05, allocations: 2.312 kB / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm): time 0.01471/0.01474, allocations: 4.792 MB / 374.9 MB, free: 5.926 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005792/0.02053, allocations: 1.565 MB / 376.5 MB, free: 4.355 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003929/0.02093, allocations: 27.81 kB / 376.5 MB, free: 4.328 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003585/0.02451, allocations: 119 kB / 376.6 MB, free: 4.211 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009759/0.02549, allocations: 321.8 kB / 376.9 MB, free: 3.895 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000438/0.02593, allocations: 151.7 kB / 377.1 MB, free: 3.746 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009038/0.02683, allocations: 0.7159 MB / 377.8 MB, free: 3.027 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003594/0.03042, allocations: 348.4 kB / 378.1 MB, free: 2.688 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007376/0.03116, allocations: 423.1 kB / 378.5 MB, free: 2.273 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003963/0.03156, allocations: 243.3 kB / 378.8 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.658e-05/0.03161, allocations: 48 kB / 378.8 MB, free: 1.988 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.802e-05/0.03168, allocations: 44 kB / 378.9 MB, free: 1.945 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.0318, allocations: 175.5 kB / 379 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.03195, allocations: 179.7 kB / 379.2 MB, free: 1.598 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000424/0.03237, allocations: 394.5 kB / 379.6 MB, free: 1.211 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.03238, allocations: 0 / 379.6 MB, free: 1.211 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.03238, allocations: 0 / 379.6 MB, free: 1.211 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.03239, allocations: 0 / 379.6 MB, free: 1.211 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.002926/0.03531, allocations: 0.8133 MB / 380.4 MB, free: 364 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.03536, allocations: 15.97 kB / 380.4 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.03547, allocations: 88.61 kB / 380.5 MB, free: 260 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005245/0.03599, allocations: 403.7 kB / 380.9 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.059e-05/0.03607, allocations: 84.95 kB / 381 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.287e-05/0.03612, allocations: 48.12 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004212/0.03655, allocations: 389.9 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.03656, allocations: 3.953 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.03659, allocations: 24 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.0366, allocations: 8 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001663/0.03676, allocations: 134.8 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.03835, allocations: 2.143 MB / 383.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.0386, allocations: 169.1 kB / 383.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.471e-05/0.03868, allocations: 66.97 kB / 384 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.0387, allocations: 4 kB / 384 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.03873, allocations: 41.39 kB / 384 MB, free: 12.51 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.03873, allocations: 0 / 384 MB, free: 12.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007452/0.03948, allocations: 455.8 kB / 384.4 MB, free: 12.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.03953, allocations: 110.8 kB / 384.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.03974, allocations: 350 kB / 384.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.03976, allocations: 33.7 kB / 384.9 MB, free: 11.49 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.03993, allocations: 330.8 kB / 385.2 MB, free: 11.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.382e-05/0.03998, allocations: 83.31 kB / 385.3 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.139e-05/0.04005, allocations: 67.33 kB / 385.4 MB, free: 11.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.04021, allocations: 0.5195 MB / 385.9 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.846e-05/0.04026, allocations: 31.97 kB / 385.9 MB, free: 10.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.04044, allocations: 237.5 kB / 386.2 MB, free: 10.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/0.04075, allocations: 335.4 kB / 386.5 MB, free: 9.723 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.04075, allocations: 0 / 386.5 MB, free: 9.723 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004055/0.04116, allocations: 316.5 kB / 386.8 MB, free: 9.402 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.04118, allocations: 8 kB / 386.8 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.04119, allocations: 4 kB / 386.8 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002293/0.04142, allocations: 84.11 kB / 386.9 MB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.04155, allocations: 67.84 kB / 387 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001359/0.04291, allocations: 2.188 MB / 389.2 MB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.04302, allocations: 19.89 kB / 389.2 MB, free: 6.918 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.04304, allocations: 16 kB / 389.2 MB, free: 6.902 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.0001197/0.04316, allocations: 180.4 kB / 389.4 MB, free: 6.715 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.927e-05/0.0432, allocations: 39.81 kB / 389.4 MB, free: 6.676 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.383e-05/0.04324, allocations: 39.09 kB / 389.5 MB, free: 6.641 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.04324, allocations: 4.031 kB / 389.5 MB, free: 6.637 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.04325, allocations: 4 kB / 389.5 MB, free: 6.633 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.04325, allocations: 0 / 389.5 MB, free: 6.633 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005773/0.04383, allocations: 0.536 MB / 390 MB, free: 6.055 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.04383, allocations: 4 kB / 390 MB, free: 6.051 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.04395, allocations: 43.92 kB / 390 MB, free: 6.008 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-05/0.04402, allocations: 19.67 kB / 390.1 MB, free: 5.984 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.04403, allocations: 12.03 kB / 390.1 MB, free: 5.973 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008126/0.04485, allocations: 1.709 MB / 391.8 MB, free: 4.148 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.04485, allocations: 0 / 391.8 MB, free: 4.148 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003659/0.04522, allocations: 498.6 kB / 392.3 MB, free: 3.633 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.416e-05/0.04528, allocations: 47.88 kB / 392.3 MB, free: 3.586 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.0453, allocations: 11.98 kB / 392.3 MB, free: 3.574 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.768e-05/0.04539, allocations: 0 / 392.3 MB, free: 3.574 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/0.04543, allocations: 24 kB / 392.4 MB, free: 3.551 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.04545, allocations: 8 kB / 392.4 MB, free: 3.543 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001142/0.04556, allocations: 214.9 kB / 392.6 MB, free: 3.332 MB / 362.7 MB Notification: Performance of sort global known variables: time 2e-08/0.04556, allocations: 0 / 392.6 MB, free: 3.332 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003629/0.04593, allocations: 95.88 kB / 392.7 MB, free: 3.238 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.0001404/0.04607, allocations: 95.25 kB / 392.8 MB, free: 3.137 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003851/0.04645, allocations: 349 kB / 393.1 MB, free: 2.773 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.04645, allocations: 0 / 393.1 MB, free: 2.773 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001716/0.04663, allocations: 242.6 kB / 393.3 MB, free: 2.516 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004062/0.04703, allocations: 99.88 kB / 393.4 MB, free: 2.426 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.04848, allocations: 0.8448 MB / 394.3 MB, free: 1.531 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.381e-05/0.04857, allocations: 133.2 kB / 394.4 MB, free: 1.379 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001206/0.04869, allocations: 43.27 kB / 394.4 MB, free: 1.336 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.04883, allocations: 146.1 kB / 394.6 MB, free: 1.191 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.04883, allocations: 0 / 394.6 MB, free: 1.191 MB / 362.7 MB Notification: Performance of Templates: time 0.007059/0.05589, allocations: 4.407 MB / 399 MB, free: 12.89 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: 3.1448433729819953]