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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009341/0.0009341, allocations: 179.5 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.17/1.17, allocations: 194.5 MB / 211.6 MB, free: 3.055 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001563/0.001563, allocations: 110.6 kB / 256.9 MB, free: 4.344 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1668/0.1668, allocations: 37.99 MB / 340.1 MB, free: 1.359 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000351/0.000351, allocations: 16 kB / 403.8 MB, free: 68.8 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08401/0.08437, allocations: 53.22 MB / 457 MB, free: 15.57 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3092/0.3936, allocations: 96.99 MB / 0.541 GB, free: 14.27 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.001703/0.3954, allocations: 0.8575 MB / 0.5418 GB, free: 13.81 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04139/0.4368, allocations: 16.11 MB / 0.5576 GB, free: 76 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4368, allocations: 0 / 0.5576 GB, free: 76 kB / 362.7 MB Notification: Performance of Transformations before backend: time 6.783e-05/0.4369, allocations: 19.94 kB / 0.5576 GB, free: 56 kB / 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.001886/0.4388, allocations: 0.8496 MB / 0.5584 GB, free: 15.19 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.4388, allocations: 16.02 kB / 0.5584 GB, free: 15.17 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002187/0.4391, allocations: 63.25 kB / 0.5585 GB, free: 15.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00186/0.4409, allocations: 0.764 MB / 0.5592 GB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.905e-05/0.441, allocations: 35.12 kB / 0.5593 GB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.4411, allocations: 44.88 kB / 0.5593 GB, free: 14.4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008632/0.442, allocations: 0.5294 MB / 0.5598 GB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.442, allocations: 0.6875 kB / 0.5598 GB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.123e-05/0.4421, allocations: 17 kB / 0.5599 GB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.4421, allocations: 12 kB / 0.5599 GB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005982/0.4427, allocations: 326.9 kB / 0.5602 GB, free: 13.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002657/0.4454, allocations: 2.079 MB / 0.5622 GB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003957/0.4458, allocations: 239.5 kB / 0.5624 GB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.4458, allocations: 4.062 kB / 0.5624 GB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002312/0.4461, allocations: 161.8 kB / 0.5626 GB, free: 11.51 MB / 378.7 MB Notification: Performance of pre-optimization done (n=23): time 2.164e-06/0.4461, allocations: 4 kB / 0.5626 GB, free: 11.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=26): time 0.001946/0.448, allocations: 1.157 MB / 0.5637 GB, free: 10.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.532e-05/0.4481, allocations: 132.5 kB / 0.5639 GB, free: 10.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004475/0.4486, allocations: 377 kB / 0.5642 GB, free: 9.996 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.4486, allocations: 33.14 kB / 0.5642 GB, free: 9.961 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.4488, allocations: 289.9 kB / 0.5645 GB, free: 9.746 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.251e-05/0.4489, allocations: 95.52 kB / 0.5646 GB, free: 9.664 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.536e-05/0.4489, allocations: 7 kB / 0.5646 GB, free: 9.664 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.4491, allocations: 360.9 kB / 0.565 GB, free: 9.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.4492, allocations: 90.08 kB / 0.5651 GB, free: 9.262 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/0.4495, allocations: 221.8 kB / 0.5653 GB, free: 9.027 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.4497, allocations: 149.7 kB / 0.5654 GB, free: 8.922 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4497, allocations: 0 / 0.5654 GB, free: 8.922 MB / 378.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008579/0.4506, allocations: 485.3 kB / 0.5659 GB, free: 8.531 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.584e-05/0.4506, allocations: 33.7 kB / 0.5659 GB, free: 8.492 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.4506, allocations: 4 kB / 0.5659 GB, free: 8.488 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004099/0.451, allocations: 90.84 kB / 0.566 GB, free: 8.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002651/0.4513, allocations: 83.73 kB / 0.5661 GB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001929/0.4533, allocations: 1.716 MB / 0.5677 GB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002979/0.4536, allocations: 22.61 kB / 0.5678 GB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/0.4536, allocations: 19.5 kB / 0.5678 GB, free: 6.66 MB / 378.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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002821/0.4539, allocations: 209.1 kB / 0.568 GB, free: 6.488 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.548e-05/0.454, allocations: 47.42 kB / 0.568 GB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005602/0.4545, allocations: 284.6 kB / 0.5683 GB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.4546, allocations: 4 kB / 0.5683 GB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.4546, allocations: 0 / 0.5683 GB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4546, allocations: 0 / 0.5683 GB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.4557, allocations: 0.7912 MB / 0.5691 GB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-06/0.4558, allocations: 0 / 0.5691 GB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002845/0.4561, allocations: 51.91 kB / 0.5691 GB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002039/0.4563, allocations: 43.75 kB / 0.5692 GB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.4563, allocations: 7.062 kB / 0.5692 GB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001193/0.4575, allocations: 1.452 MB / 0.5706 GB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.4575, allocations: 0 / 0.5706 GB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006978/0.4582, allocations: 0.5049 MB / 0.5711 GB, free: 3.543 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/0.4584, allocations: 136 kB / 0.5712 GB, free: 3.402 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.409e-05/0.4585, allocations: 7.188 kB / 0.5712 GB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.4587, allocations: 23.88 kB / 0.5712 GB, free: 3.379 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.564e-05/0.4588, allocations: 23.78 kB / 0.5713 GB, free: 3.359 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.4588, allocations: 4 kB / 0.5713 GB, free: 3.355 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003053/0.4591, allocations: 290.8 kB / 0.5716 GB, free: 3.133 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4591, allocations: 0 / 0.5716 GB, free: 3.133 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000537/0.4597, allocations: 119.4 kB / 0.5717 GB, free: 3.027 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.motor.phi_el,dcm_par.motor.w_el,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 (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007854/0.4605, allocations: 385.3 kB / 0.572 GB, free: 2.684 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007911/0.4613, allocations: 444.4 kB / 0.5725 GB, free: 2.301 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4613, allocations: 1.125 kB / 0.5725 GB, free: 2.301 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003774/0.4617, allocations: 245.1 kB / 0.5727 GB, free: 2.078 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005548/0.4622, allocations: 108.3 kB / 0.5728 GB, free: 2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/0.4642, allocations: 1.491 MB / 0.5743 GB, free: 0.5586 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00048/0.4647, allocations: 0.8851 MB / 0.5751 GB, free: 15.66 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002954/0.465, allocations: 72.17 kB / 0.5752 GB, free: 15.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.636e-05/0.4651, allocations: 31.44 kB / 0.5752 GB, free: 15.56 MB / 394.7 MB Notification: Performance of SimCode: time 3.71e-07/0.4651, allocations: 0 / 0.5752 GB, free: 15.56 MB / 394.7 MB Notification: Performance of Templates: time 0.01215/0.4773, allocations: 6.129 MB / 0.5812 GB, free: 9.43 MB / 394.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.makefile (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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe 2>&1)