Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001859/0.001859, allocations: 173.5 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.739/2.739, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008118/0.0008117, allocations: 93.34 kB / 271.3 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2188/0.2188, allocations: 38.07 MB / 357.6 MB, free: 1.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005387/0.0005387, allocations: 8 kB / 423.9 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5633/0.5638, allocations: 56.32 MB / 480.3 MB, free: 9.223 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2619/0.8259, allocations: 112.9 MB / 0.5792 GB, free: 5.465 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004637/0.8264, allocations: 99.94 kB / 0.5793 GB, free: 5.367 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09936/0.9258, allocations: 25.84 MB / 0.6045 GB, free: 11.18 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.996e-06/0.9259, allocations: 4 kB / 0.6046 GB, free: 11.18 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001066/0.926, allocations: 12 kB / 0.6046 GB, free: 11.17 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.003771/0.9298, allocations: 1.025 MB / 0.6056 GB, free: 10.09 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.173e-05/0.9299, allocations: 8.031 kB / 0.6056 GB, free: 10.08 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009345/0.9308, allocations: 107.9 kB / 0.6057 GB, free: 9.973 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002714/0.9336, allocations: 0.749 MB / 0.6064 GB, free: 9.184 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001913/0.9338, allocations: 88.19 kB / 0.6065 GB, free: 9.09 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003479/0.9341, allocations: 68.38 kB / 0.6066 GB, free: 9.023 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002702/0.9369, allocations: 0.9648 MB / 0.6075 GB, free: 8.008 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.02e-05/0.937, allocations: 11.78 kB / 0.6075 GB, free: 7.996 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/0.9371, allocations: 28 kB / 0.6075 GB, free: 7.969 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000163/0.9373, allocations: 57.27 kB / 0.6076 GB, free: 7.91 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002195/0.9395, allocations: 0.7663 MB / 0.6083 GB, free: 7.145 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008044/0.9475, allocations: 3.851 MB / 0.6121 GB, free: 3.082 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.9487, allocations: 436.5 kB / 0.6125 GB, free: 2.629 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006989/0.9494, allocations: 293.2 kB / 0.6128 GB, free: 2.336 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.298e-05/0.9495, allocations: 7.859 kB / 0.6128 GB, free: 2.328 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.218e-05/0.9496, allocations: 46.5 kB / 0.6128 GB, free: 2.273 MB / 442.7 MB Notification: Performance of pre-optimization done (n=37): time 3.246e-06/0.9496, allocations: 0 / 0.6128 GB, free: 2.273 MB / 442.7 MB Notification: Performance of matching and sorting (n=55): time 0.01571/0.9653, allocations: 4.045 MB / 0.6168 GB, free: 14.02 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/0.9655, allocations: 111.2 kB / 0.6169 GB, free: 13.89 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.9667, allocations: 0.4987 MB / 0.6174 GB, free: 13.38 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.9668, allocations: 33.7 kB / 0.6174 GB, free: 13.34 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004084/0.9673, allocations: 410.9 kB / 0.6178 GB, free: 12.93 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002794/0.9676, allocations: 189.3 kB / 0.618 GB, free: 12.75 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.479e-05/0.9677, allocations: 16 kB / 0.618 GB, free: 12.73 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002422/0.9679, allocations: 370.8 kB / 0.6184 GB, free: 12.36 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007275/0.9687, allocations: 281.8 kB / 0.6186 GB, free: 12.08 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009709/0.9697, allocations: 0.5072 MB / 0.6191 GB, free: 11.47 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001801/0.9715, allocations: 0.8559 MB / 0.62 GB, free: 10.52 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/0.9715, allocations: 0 / 0.62 GB, free: 10.52 MB / 458.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00496/0.9765, allocations: 1.588 MB / 0.6215 GB, free: 8.848 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.738e-05/0.9766, allocations: 8 kB / 0.6215 GB, free: 8.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.906e-05/0.9766, allocations: 8 kB / 0.6215 GB, free: 8.832 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002344/0.979, allocations: 0.496 MB / 0.622 GB, free: 8.32 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007092/0.9797, allocations: 115.9 kB / 0.6221 GB, free: 8.207 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01571/0.9954, allocations: 9.994 MB / 0.6319 GB, free: 13.53 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.9966, allocations: 35.78 kB / 0.6319 GB, free: 13.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001895/0.9968, allocations: 35.98 kB / 0.632 GB, free: 13.46 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (59): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(3,88.9%) 8,(1,100.0%) 2,(1,100.0%) 3} * Non-linear torn systems: 1 {2 9} Notification: Performance of prepare postOptimizeDAE: time 0.0009509/0.9977, allocations: 309.6 kB / 0.6322 GB, free: 13.15 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002901/0.998, allocations: 63.23 kB / 0.6323 GB, free: 13.09 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004917/1.003, allocations: 1.453 MB / 0.6337 GB, free: 11.55 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.129e-05/1.003, allocations: 11.98 kB / 0.6337 GB, free: 11.54 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-05/1.003, allocations: 4 kB / 0.6337 GB, free: 11.54 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/1.003, allocations: 0 / 0.6337 GB, free: 11.54 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007309/1.01, allocations: 2.374 MB / 0.6361 GB, free: 9.023 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/1.01, allocations: 8 kB / 0.6361 GB, free: 9.016 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004513/1.011, allocations: 55.84 kB / 0.6361 GB, free: 8.961 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002255/1.013, allocations: 487.4 kB / 0.6366 GB, free: 8.473 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.092e-05/1.013, allocations: 15.98 kB / 0.6366 GB, free: 8.457 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4108/1.424, allocations: 9.725 MB / 0.6461 GB, free: 134.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-06/1.424, allocations: 2.406 kB / 0.6461 GB, free: 134.9 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006702/1.431, allocations: 2.002 MB / 0.6481 GB, free: 134.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000664/1.432, allocations: 190.6 kB / 0.6482 GB, free: 134.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/1.432, allocations: 12.2 kB / 0.6483 GB, free: 134.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006317/1.432, allocations: 20.86 kB / 0.6483 GB, free: 134.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003892/1.433, allocations: 63.67 kB / 0.6483 GB, free: 134.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-05/1.433, allocations: 18.06 kB / 0.6483 GB, free: 134.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008837/1.434, allocations: 353.9 kB / 0.6487 GB, free: 134.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.01e-07/1.434, allocations: 0 / 0.6487 GB, free: 134.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002139/1.436, allocations: 242.3 kB / 0.6489 GB, free: 134.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (machine.rotor.w,machine.motor.phi_el) * 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 (29): * Single equations (assignments): 23 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 8,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004976/1.437, allocations: 154 kB / 0.6491 GB, free: 134.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004539/1.441, allocations: 1.487 MB / 0.6505 GB, free: 133.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/1.441, allocations: 1.312 kB / 0.6505 GB, free: 133.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002924/1.444, allocations: 1.122 MB / 0.6516 GB, free: 132.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00203/1.446, allocations: 159.9 kB / 0.6518 GB, free: 132.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005458/1.452, allocations: 2.103 MB / 0.6538 GB, free: 132.1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001285/1.453, allocations: 1.047 MB / 0.6548 GB, free: 131.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002778/1.453, allocations: 46.55 kB / 0.6549 GB, free: 131.4 MB / 474.7 MB Notification: Performance of SimCode: time 1.413e-06/1.453, allocations: 0 / 0.6549 GB, free: 131.4 MB / 474.7 MB Notification: Performance of Templates: time 0.05775/1.511, allocations: 27.58 MB / 0.6818 GB, free: 126.4 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.pipe 2>&1)