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.001438/0.001439, allocations: 185.7 kB / 8.01 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.049/2.049, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 90.44 kB / 261.8 MB, free: 1.668 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.2636/0.2636, allocations: 37.99 MB / 347.7 MB, free: 5.746 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.949e-05/1.964e-05, allocations: 0 / 409.8 MB, free: 35.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1075, allocations: 56.34 MB / 466.2 MB, free: 10.8 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.604/0.7116, allocations: 102 MB / 0.5548 GB, free: 8.891 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0026/0.7142, allocations: 0.5827 MB / 0.5554 GB, free: 8.773 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09113/0.8054, allocations: 16.54 MB / 0.5716 GB, free: 11.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.8055, allocations: 0 / 0.5716 GB, free: 11.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.758e-05/0.8056, allocations: 12 kB / 0.5716 GB, free: 11.5 MB / 378.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.002633/0.8082, allocations: 0.7713 MB / 0.5723 GB, free: 10.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/0.8083, allocations: 8.031 kB / 0.5723 GB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002679/0.8086, allocations: 67.2 kB / 0.5724 GB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003603/0.8122, allocations: 0.7492 MB / 0.5731 GB, free: 9.996 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.808e-05/0.8123, allocations: 16 kB / 0.5731 GB, free: 9.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001633/0.8125, allocations: 27.91 kB / 0.5732 GB, free: 9.953 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001178/0.8137, allocations: 286.6 kB / 0.5734 GB, free: 9.777 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/0.8152, allocations: 467.6 kB / 0.5739 GB, free: 9.383 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.484e-05/0.8152, allocations: 0 / 0.5739 GB, free: 9.383 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.987e-05/0.8153, allocations: 4 kB / 0.5739 GB, free: 9.379 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.79e-05/0.8154, allocations: 11.95 kB / 0.5739 GB, free: 9.367 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005244/0.8206, allocations: 2.01 MB / 0.5759 GB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007613/0.8215, allocations: 204.6 kB / 0.5761 GB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002533/0.8217, allocations: 76.39 kB / 0.5761 GB, free: 7.316 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.586e-05/0.8218, allocations: 8 kB / 0.5761 GB, free: 7.309 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004629/0.8223, allocations: 155.8 kB / 0.5763 GB, free: 7.168 MB / 378.7 MB Notification: Performance of pre-optimization done (n=23): time 3.787e-06/0.8223, allocations: 0 / 0.5763 GB, free: 7.168 MB / 378.7 MB Notification: Performance of matching and sorting (n=25): time 0.003175/0.8255, allocations: 0.8096 MB / 0.5771 GB, free: 6.387 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.8256, allocations: 136.5 kB / 0.5772 GB, free: 6.223 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008066/0.8265, allocations: 333.2 kB / 0.5775 GB, free: 5.957 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.374e-05/0.8265, allocations: 25.7 kB / 0.5775 GB, free: 5.926 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003327/0.8269, allocations: 345.7 kB / 0.5779 GB, free: 5.645 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.827, allocations: 81.67 kB / 0.578 GB, free: 5.574 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.817e-05/0.8271, allocations: 4.062 kB / 0.578 GB, free: 5.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.8273, allocations: 325.7 kB / 0.5783 GB, free: 5.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003098/0.8276, allocations: 75.48 kB / 0.5783 GB, free: 5.207 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004582/0.8281, allocations: 202.4 kB / 0.5785 GB, free: 4.984 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004125/0.8285, allocations: 110.4 kB / 0.5786 GB, free: 4.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.8285, allocations: 0 / 0.5786 GB, free: 4.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001708/0.8303, allocations: 375.2 kB / 0.579 GB, free: 4.605 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.74e-05/0.8303, allocations: 8.562 kB / 0.579 GB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.8304, allocations: 8 kB / 0.579 GB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008849/0.8313, allocations: 90.8 kB / 0.5791 GB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006995/0.832, allocations: 71.84 kB / 0.5792 GB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003622/0.8356, allocations: 1.627 MB / 0.5808 GB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000714/0.8364, allocations: 16.06 kB / 0.5808 GB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.257e-05/0.8365, allocations: 19.98 kB / 0.5808 GB, free: 2.855 MB / 378.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: dcm_par.motor.w_el:VARIABLE(unit = "rad/s" ) "rotor angular velocity el" type: Real 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.0002461/0.8367, allocations: 116.4 kB / 0.5809 GB, free: 2.738 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.8369, allocations: 39.53 kB / 0.5809 GB, free: 2.699 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/0.838, allocations: 263.9 kB / 0.5812 GB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.8381, allocations: 4 kB / 0.5812 GB, free: 2.492 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.8381, allocations: 4 kB / 0.5812 GB, free: 2.488 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.8381, allocations: 0 / 0.5812 GB, free: 2.488 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002217/0.8403, allocations: 0.6933 MB / 0.5819 GB, free: 1.895 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.8404, allocations: 3.938 kB / 0.5819 GB, free: 1.891 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007003/0.8411, allocations: 51.22 kB / 0.5819 GB, free: 1.844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004581/0.8416, allocations: 55.8 kB / 0.582 GB, free: 1.793 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.027e-05/0.8416, allocations: 4 kB / 0.582 GB, free: 1.789 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002256/0.8439, allocations: 1.388 MB / 0.5833 GB, free: 384 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/0.8439, allocations: 4.031 kB / 0.5833 GB, free: 380 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/0.8454, allocations: 465.6 kB / 0.5838 GB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003035/0.8457, allocations: 140.2 kB / 0.5839 GB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.8459, allocations: 0 / 0.5839 GB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005131/0.8464, allocations: 11.98 kB / 0.5839 GB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.8465, allocations: 19.84 kB / 0.584 GB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.16e-05/0.8466, allocations: 11.88 kB / 0.584 GB, free: 15.79 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005796/0.8472, allocations: 255.6 kB / 0.5842 GB, free: 15.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.8472, allocations: 0 / 0.5842 GB, free: 15.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001159/0.8484, allocations: 107.9 kB / 0.5843 GB, free: 15.49 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 () * 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.001562/0.85, allocations: 383.9 kB / 0.5847 GB, free: 15.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001432/0.8514, allocations: 351 kB / 0.585 GB, free: 14.88 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.8514, allocations: 0 / 0.585 GB, free: 14.88 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007156/0.8522, allocations: 224.9 kB / 0.5852 GB, free: 14.68 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.8535, allocations: 103.2 kB / 0.5853 GB, free: 14.6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003491/0.857, allocations: 0.916 MB / 0.5862 GB, free: 13.72 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008505/0.8579, allocations: 0.8943 MB / 0.5871 GB, free: 12.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002349/0.8582, allocations: 35.42 kB / 0.5871 GB, free: 12.78 MB / 394.7 MB Notification: Performance of SimCode: time 1.142e-06/0.8582, allocations: 0 / 0.5871 GB, free: 12.78 MB / 394.7 MB Notification: Performance of Templates: time 0.02746/0.8857, allocations: 8.421 MB / 0.5953 GB, free: 4.445 MB / 394.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)