Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.SynchronousMachines.SMEE_Slip1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 169.2 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0658/0.0658, allocations: 8.717 MB / 16.79 MB, free: 3.371 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 221.5 MB / 240.9 MB, free: 13.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008369/0.0008368, allocations: 96.8 kB / 293.9 MB, free: 7.195 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.491e-05/1.509e-05, allocations: 0 / 352.6 MB, free: 1.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1067, allocations: 52.55 MB / 405.2 MB, free: 12.61 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3831/0.4899, allocations: 138.9 MB / 0.5314 GB, free: 12.92 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/0.4902, allocations: 75.97 kB / 0.5314 GB, free: 12.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.046/1.536, allocations: 218.3 MB / 0.7447 GB, free: 57.78 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.883e-06/1.537, allocations: 0 / 0.7447 GB, free: 57.78 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006449/1.537, allocations: 144.7 kB / 0.7448 GB, free: 57.77 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1800 * Number of variables: 1800 Notification: Performance of Generate backend data structure: time 0.02468/1.562, allocations: 6.133 MB / 0.7508 GB, free: 55.9 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/1.562, allocations: 13.48 kB / 0.7508 GB, free: 55.9 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01906/1.581, allocations: 3.009 MB / 0.7537 GB, free: 55.54 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01903/1.6, allocations: 5.56 MB / 0.7592 GB, free: 54.85 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005639/1.601, allocations: 206.1 kB / 0.7594 GB, free: 54.85 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003403/1.604, allocations: 369.1 kB / 0.7597 GB, free: 54.84 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02026/1.624, allocations: 7.979 MB / 0.7675 GB, free: 54.81 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03317/1.658, allocations: 9.147 MB / 0.7764 GB, free: 54.06 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004632/1.658, allocations: 11.25 kB / 0.7764 GB, free: 54.05 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002728/1.661, allocations: 4.781 kB / 0.7765 GB, free: 54.05 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008244/1.662, allocations: 498.4 kB / 0.7769 GB, free: 54.04 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07135/1.733, allocations: 34.93 MB / 0.811 GB, free: 45.83 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.021/1.754, allocations: 21.79 MB / 0.8323 GB, free: 26.95 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00417/1.758, allocations: 2.271 MB / 0.8345 GB, free: 26.07 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005162/1.759, allocations: 223.8 kB / 0.8347 GB, free: 25.88 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.754e-05/1.759, allocations: 66.8 kB / 0.8348 GB, free: 25.81 MB / 458.7 MB Notification: Performance of pre-optimization done (n=295): time 5.971e-06/1.759, allocations: 0 / 0.8348 GB, free: 25.81 MB / 458.7 MB Notification: Performance of matching and sorting (n=301): time 0.02275/1.782, allocations: 9.841 MB / 0.8444 GB, free: 21.67 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/1.782, allocations: 83.81 kB / 0.8445 GB, free: 21.6 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005159/1.787, allocations: 2.315 MB / 0.8468 GB, free: 20.63 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004052/1.788, allocations: 29.7 kB / 0.8468 GB, free: 20.6 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00175/1.789, allocations: 2.873 MB / 0.8496 GB, free: 18.4 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001048/1.79, allocations: 0.9893 MB / 0.8506 GB, free: 17.63 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004967/1.791, allocations: 0 / 0.8506 GB, free: 17.63 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004364/1.791, allocations: 499 kB / 0.851 GB, free: 17.24 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003018/1.794, allocations: 1.965 MB / 0.853 GB, free: 16.44 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003673/1.798, allocations: 3.613 MB / 0.8565 GB, free: 13.47 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006346/1.804, allocations: 3.481 MB / 0.8599 GB, free: 12.23 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.554e-05/1.804, allocations: 16.44 kB / 0.8599 GB, free: 12.23 MB / 458.7 MB Notification: Performance of matching and sorting (n=594) (initialization): time 0.01431/1.819, allocations: 6.865 MB / 0.8666 GB, free: 10.04 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.361e-05/1.819, allocations: 28.22 kB / 0.8666 GB, free: 10.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001061/1.819, allocations: 58.16 kB / 0.8667 GB, free: 10.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001873/1.821, allocations: 0.6674 MB / 0.8673 GB, free: 9.914 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004128/1.825, allocations: 1.095 MB / 0.8684 GB, free: 9.879 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01051/1.836, allocations: 5.619 MB / 0.8739 GB, free: 6.637 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005279/1.841, allocations: 245.7 kB / 0.8741 GB, free: 6.617 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001177/1.842, allocations: 229.8 kB / 0.8743 GB, free: 6.582 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 250 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (559): * Single equations (assignments): 558 * 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: 1 {(8,67.2%) 28} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001544/1.844, allocations: 254.8 kB / 0.8746 GB, free: 6.426 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001128/1.845, allocations: 299.5 kB / 0.8749 GB, free: 6.27 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01045/1.855, allocations: 4.983 MB / 0.8797 GB, free: 4.445 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.576e-05/1.855, allocations: 36.22 kB / 0.8798 GB, free: 4.441 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.049e-05/1.855, allocations: 3.531 kB / 0.8798 GB, free: 4.441 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-05/1.855, allocations: 16.88 kB / 0.8798 GB, free: 4.441 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02279/1.878, allocations: 11.01 MB / 0.8905 GB, free: 11.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.699e-05/1.878, allocations: 4 kB / 0.8906 GB, free: 11.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002345/1.881, allocations: 0.5569 MB / 0.8911 GB, free: 11.04 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001658/1.882, allocations: 0.5521 MB / 0.8916 GB, free: 10.63 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002878/1.883, allocations: 27.36 kB / 0.8917 GB, free: 10.61 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007059/1.89, allocations: 4.88 MB / 0.8964 GB, free: 6.23 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.198e-05/1.89, allocations: 11.94 kB / 0.8964 GB, free: 6.223 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01412/1.904, allocations: 7.624 MB / 0.9039 GB, free: 15.93 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002599/1.906, allocations: 0.7453 MB / 0.9046 GB, free: 15.25 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009668/1.907, allocations: 11.33 kB / 0.9046 GB, free: 15.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002424/1.91, allocations: 140 kB / 0.9048 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004396/1.91, allocations: 202.3 kB / 0.9049 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002318/1.911, allocations: 87.33 kB / 0.905 GB, free: 14.95 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003754/1.914, allocations: 1.669 MB / 0.9067 GB, free: 13.47 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.91e-07/1.914, allocations: 3.188 kB / 0.9067 GB, free: 13.47 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005872/1.92, allocations: 1.066 MB / 0.9077 GB, free: 12.41 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (smee.gamma,smee.excitation.electroMagneticConverter.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (291): * Single equations (assignments): 290 * 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: 1 {(8,64.1%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008141/1.921, allocations: 381.8 kB / 0.9081 GB, free: 12.11 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008667/1.93, allocations: 4.85 MB / 0.9128 GB, free: 7.711 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/1.93, allocations: 0 / 0.9128 GB, free: 7.711 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003768/1.934, allocations: 2.24 MB / 0.915 GB, free: 5.684 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00325/1.937, allocations: 459.9 kB / 0.9154 GB, free: 5.332 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3623/2.299, allocations: 9.88 MB / 0.9251 GB, free: 78.61 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00498/2.304, allocations: 4.252 MB / 0.9292 GB, free: 77.79 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004871/2.309, allocations: 1.386 MB / 0.9306 GB, free: 77.76 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008824/2.31, allocations: 260.2 kB / 0.9308 GB, free: 77.76 MB / 490.7 MB Notification: Performance of SimCode: time 1.052e-06/2.31, allocations: 0 / 0.9308 GB, free: 77.76 MB / 490.7 MB Notification: Performance of Templates: time 0.08125/2.391, allocations: 41 MB / 0.9709 GB, free: 76.08 MB / 490.7 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe 2>&1)