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.001532/0.001531, allocations: 183.8 kB / 15.76 MB, free: 6.359 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 1.972/1.972, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001102/0.001102, allocations: 98.77 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2575/0.2575, allocations: 38.07 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004545/0.0004545, allocations: 12 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1057, allocations: 56.33 MB / 479 MB, free: 2.035 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5254/0.6311, allocations: 102.7 MB / 0.5681 GB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.002508/0.6337, allocations: 0.8662 MB / 0.569 GB, free: 12.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07413/0.7078, allocations: 16.72 MB / 0.5853 GB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.7079, allocations: 3.938 kB / 0.5853 GB, free: 14.3 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.422e-05/0.708, allocations: 12 kB / 0.5853 GB, free: 14.29 MB / 394.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.002576/0.7106, allocations: 0.8398 MB / 0.5861 GB, free: 13.44 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.7106, allocations: 8.031 kB / 0.5862 GB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000298/0.7109, allocations: 71.02 kB / 0.5862 GB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002849/0.7138, allocations: 0.7713 MB / 0.587 GB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.377e-05/0.7139, allocations: 33.19 kB / 0.587 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.714, allocations: 41.88 kB / 0.587 GB, free: 12.65 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.7153, allocations: 0.5226 MB / 0.5876 GB, free: 12.22 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.298e-05/0.7154, allocations: 4 kB / 0.5876 GB, free: 12.22 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.583e-05/0.7155, allocations: 17.5 kB / 0.5876 GB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.959e-05/0.7155, allocations: 15.98 kB / 0.5876 GB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008942/0.7164, allocations: 332.6 kB / 0.5879 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004353/0.7208, allocations: 2.08 MB / 0.5899 GB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000658/0.7215, allocations: 228.6 kB / 0.5902 GB, free: 9.918 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.433e-05/0.7216, allocations: 4.062 kB / 0.5902 GB, free: 9.914 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003882/0.722, allocations: 172.7 kB / 0.5903 GB, free: 9.754 MB / 394.7 MB Notification: Performance of pre-optimization done (n=23): time 3.146e-06/0.722, allocations: 0 / 0.5903 GB, free: 9.754 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.002701/0.7247, allocations: 0.9234 MB / 0.5912 GB, free: 8.918 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.284e-05/0.7249, allocations: 136.8 kB / 0.5914 GB, free: 8.754 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007279/0.7256, allocations: 373 kB / 0.5917 GB, free: 8.469 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.167e-05/0.7257, allocations: 29.2 kB / 0.5917 GB, free: 8.438 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002641/0.726, allocations: 337 kB / 0.5921 GB, free: 8.168 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.7261, allocations: 92.19 kB / 0.5922 GB, free: 8.09 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/0.7262, allocations: 10.5 kB / 0.5922 GB, free: 8.086 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.7263, allocations: 328.1 kB / 0.5925 GB, free: 7.762 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002834/0.7266, allocations: 78.97 kB / 0.5926 GB, free: 7.715 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003844/0.727, allocations: 229.7 kB / 0.5928 GB, free: 7.465 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003361/0.7274, allocations: 123.4 kB / 0.5929 GB, free: 7.391 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.7274, allocations: 0 / 0.5929 GB, free: 7.391 MB / 394.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001352/0.7288, allocations: 412.2 kB / 0.5933 GB, free: 7.074 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.7288, allocations: 8 kB / 0.5933 GB, free: 7.066 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.7288, allocations: 4 kB / 0.5933 GB, free: 7.062 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006711/0.7295, allocations: 103.3 kB / 0.5934 GB, free: 6.973 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005069/0.73, allocations: 74.91 kB / 0.5935 GB, free: 6.902 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00299/0.733, allocations: 1.715 MB / 0.5951 GB, free: 5.266 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005412/0.7336, allocations: 23.14 kB / 0.5952 GB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.637e-05/0.7337, allocations: 23.56 kB / 0.5952 GB, free: 5.227 MB / 394.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 (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.0004183/0.7341, allocations: 209.2 kB / 0.5954 GB, free: 5.055 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.7342, allocations: 43.53 kB / 0.5954 GB, free: 5.012 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009441/0.7352, allocations: 278.8 kB / 0.5957 GB, free: 4.809 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.7352, allocations: 4 kB / 0.5957 GB, free: 4.805 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.7353, allocations: 0 / 0.5957 GB, free: 4.805 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.7353, allocations: 4 kB / 0.5957 GB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001944/0.7372, allocations: 0.7855 MB / 0.5965 GB, free: 4.129 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/0.7373, allocations: 0 / 0.5965 GB, free: 4.129 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005184/0.7378, allocations: 43.97 kB / 0.5965 GB, free: 4.086 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003476/0.7382, allocations: 44.19 kB / 0.5965 GB, free: 4.047 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.995e-05/0.7382, allocations: 11.67 kB / 0.5966 GB, free: 4.039 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001843/0.7401, allocations: 1.449 MB / 0.598 GB, free: 2.562 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.7401, allocations: 4.062 kB / 0.598 GB, free: 2.559 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.7414, allocations: 499.8 kB / 0.5985 GB, free: 2.129 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002553/0.7417, allocations: 133.7 kB / 0.5986 GB, free: 1.992 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.083e-05/0.7418, allocations: 15.06 kB / 0.5986 GB, free: 1.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003826/0.7422, allocations: 15.67 kB / 0.5986 GB, free: 1.969 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.985e-05/0.7423, allocations: 22.88 kB / 0.5986 GB, free: 1.949 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.315e-05/0.7423, allocations: 14.88 kB / 0.5986 GB, free: 1.938 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005948/0.7429, allocations: 294.6 kB / 0.5989 GB, free: 1.711 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7429, allocations: 0 / 0.5989 GB, free: 1.711 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008503/0.7438, allocations: 125.1 kB / 0.599 GB, free: 1.602 MB / 394.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 () * Number of clocked 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.001295/0.7451, allocations: 435.3 kB / 0.5995 GB, free: 1.238 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001289/0.7464, allocations: 386.1 kB / 0.5998 GB, free: 0.918 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.7465, allocations: 0 / 0.5998 GB, free: 0.918 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006219/0.7471, allocations: 239.2 kB / 0.6001 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.7483, allocations: 119.7 kB / 0.6002 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003464/0.7518, allocations: 1.529 MB / 0.6017 GB, free: 15.13 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006209/0.7524, allocations: 0.8854 MB / 0.6025 GB, free: 14.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002272/0.7527, allocations: 39.42 kB / 0.6026 GB, free: 14.19 MB / 410.7 MB Notification: Performance of SimCode: time 1.422e-06/0.7527, allocations: 0 / 0.6026 GB, free: 14.19 MB / 410.7 MB Notification: Performance of Templates: time 0.02036/0.7731, allocations: 8.725 MB / 0.6111 GB, free: 5.551 MB / 410.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)