Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_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_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001481/0.001481, allocations: 184.6 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.003/2.003, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001097/0.001096, allocations: 91.8 kB / 267.1 MB, free: 9.289 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2709/0.2709, allocations: 37.97 MB / 353.1 MB, free: 3.066 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.678e-05/2.683e-05, allocations: 4 kB / 416.8 MB, free: 41.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1048, allocations: 56.31 MB / 473.1 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5437/0.6486, allocations: 102.6 MB / 0.5623 GB, free: 1.102 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.002514/0.6512, allocations: 0.6845 MB / 0.5629 GB, free: 428 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07539/0.7266, allocations: 16.71 MB / 0.5793 GB, free: 15.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.7267, allocations: 0 / 0.5793 GB, free: 15.52 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.501e-05/0.7267, allocations: 12 kB / 0.5793 GB, free: 15.51 MB / 426.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.00193/0.7287, allocations: 0.7736 MB / 0.58 GB, free: 14.69 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.7287, allocations: 8.031 kB / 0.58 GB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001823/0.7289, allocations: 67.2 kB / 0.5801 GB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002751/0.7317, allocations: 0.7536 MB / 0.5808 GB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.63e-05/0.7318, allocations: 33 kB / 0.5809 GB, free: 13.79 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.7319, allocations: 43.91 kB / 0.5809 GB, free: 13.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.7332, allocations: 0.5198 MB / 0.5814 GB, free: 13.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.392e-05/0.7333, allocations: 8 kB / 0.5814 GB, free: 13.17 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.412e-05/0.7334, allocations: 20 kB / 0.5814 GB, free: 13.15 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/0.7334, allocations: 8 kB / 0.5814 GB, free: 13.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008783/0.7343, allocations: 322.9 kB / 0.5818 GB, free: 12.83 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004197/0.7385, allocations: 2.091 MB / 0.5838 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006522/0.7392, allocations: 223.8 kB / 0.584 GB, free: 10.38 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/0.7394, allocations: 78.58 kB / 0.5841 GB, free: 10.29 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.183e-05/0.7395, allocations: 4 kB / 0.5841 GB, free: 10.29 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003828/0.7399, allocations: 159.3 kB / 0.5842 GB, free: 10.11 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 3.176e-06/0.7399, allocations: 0 / 0.5842 GB, free: 10.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.002409/0.7423, allocations: 0.8651 MB / 0.5851 GB, free: 9.184 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.489e-05/0.7425, allocations: 132.5 kB / 0.5852 GB, free: 9.023 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007186/0.7432, allocations: 371.2 kB / 0.5856 GB, free: 8.656 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.711e-05/0.7432, allocations: 33.7 kB / 0.5856 GB, free: 8.617 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002998/0.7436, allocations: 338 kB / 0.5859 GB, free: 8.281 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.7437, allocations: 86.75 kB / 0.586 GB, free: 8.195 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.833e-05/0.7437, allocations: 8 kB / 0.586 GB, free: 8.188 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.7439, allocations: 326.8 kB / 0.5863 GB, free: 7.859 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000263/0.7442, allocations: 80.86 kB / 0.5864 GB, free: 7.781 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003885/0.7446, allocations: 221.7 kB / 0.5866 GB, free: 7.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003485/0.7449, allocations: 125 kB / 0.5867 GB, free: 7.379 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.745, allocations: 4 kB / 0.5867 GB, free: 7.375 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001368/0.7463, allocations: 403.8 kB / 0.5871 GB, free: 6.973 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.7464, allocations: 13.98 kB / 0.5871 GB, free: 6.961 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.7464, allocations: 4 kB / 0.5871 GB, free: 6.957 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000668/0.7471, allocations: 101.3 kB / 0.5872 GB, free: 6.855 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004859/0.7476, allocations: 67.91 kB / 0.5873 GB, free: 6.789 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002985/0.7506, allocations: 1.688 MB / 0.5889 GB, free: 4.973 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005321/0.7512, allocations: 28.05 kB / 0.589 GB, free: 4.945 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.524e-05/0.7512, allocations: 16 kB / 0.589 GB, free: 4.93 MB / 426.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 () * 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 (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.0001552/0.7514, allocations: 124.9 kB / 0.5891 GB, free: 4.801 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.7515, allocations: 47.39 kB / 0.5892 GB, free: 4.754 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009412/0.7524, allocations: 277.9 kB / 0.5894 GB, free: 4.465 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.7525, allocations: 7.984 kB / 0.5894 GB, free: 4.457 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.7525, allocations: 4 kB / 0.5894 GB, free: 4.453 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.7525, allocations: 0 / 0.5894 GB, free: 4.453 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001876/0.7544, allocations: 0.7684 MB / 0.5902 GB, free: 3.625 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.7544, allocations: 11.92 kB / 0.5902 GB, free: 3.613 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005187/0.755, allocations: 43.92 kB / 0.5902 GB, free: 3.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003444/0.7553, allocations: 48.81 kB / 0.5903 GB, free: 3.52 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.874e-05/0.7554, allocations: 15.94 kB / 0.5903 GB, free: 3.504 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001839/0.7572, allocations: 1.429 MB / 0.5917 GB, free: 1.941 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.7573, allocations: 3.984 kB / 0.5917 GB, free: 1.938 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.7585, allocations: 489.9 kB / 0.5922 GB, free: 1.422 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002524/0.7588, allocations: 144.6 kB / 0.5923 GB, free: 1.262 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.289e-05/0.7589, allocations: 4 kB / 0.5923 GB, free: 1.258 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003734/0.7593, allocations: 15.98 kB / 0.5923 GB, free: 1.242 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.217e-05/0.7594, allocations: 23.92 kB / 0.5923 GB, free: 1.219 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-05/0.7594, allocations: 8 kB / 0.5924 GB, free: 1.211 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005627/0.76, allocations: 293.1 kB / 0.5926 GB, free: 0.9258 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.76, allocations: 0 / 0.5926 GB, free: 0.9258 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007658/0.7608, allocations: 132 kB / 0.5928 GB, free: 0.7969 MB / 426.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 () * 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 (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.001221/0.762, allocations: 398.3 kB / 0.5931 GB, free: 444 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00123/0.7633, allocations: 374.2 kB / 0.5935 GB, free: 56 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.7633, allocations: 5.125 kB / 0.5935 GB, free: 52 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006183/0.7639, allocations: 238.3 kB / 0.5937 GB, free: 15.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.765, allocations: 125.9 kB / 0.5938 GB, free: 15.68 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002611/0.7677, allocations: 0.9345 MB / 0.5948 GB, free: 14.71 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006576/0.7683, allocations: 0.8973 MB / 0.5956 GB, free: 13.79 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001862/0.7685, allocations: 35.44 kB / 0.5957 GB, free: 13.75 MB / 442.7 MB Notification: Performance of SimCode: time 1.433e-06/0.7686, allocations: 0 / 0.5957 GB, free: 13.75 MB / 442.7 MB Notification: Performance of Templates: time 0.02155/0.7901, allocations: 8.716 MB / 0.6042 GB, free: 5.02 MB / 442.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe 2>&1)