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/ModelicaServices 4.0.0+maint.om/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/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) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 222.9 MB / 239.2 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003024/0.003024, allocations: 188.5 kB / 289.5 MB, free: 2.332 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03338/0.03338, allocations: 8.777 MB / 348.5 MB, free: 4.746 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 82 kB / 411.1 MB, free: 42.06 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1055, allocations: 51.56 MB / 462.6 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip1): time 0.03029/0.1359, allocations: 25.41 MB / 488 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01781/0.1537, allocations: 8.006 MB / 496 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006636/0.1604, allocations: 179.5 kB / 496.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01474/0.1752, allocations: 6.105 MB / 0.4906 GB, free: 6.562 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01052/0.1858, allocations: 2.746 MB / 0.4932 GB, free: 3.809 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005961/0.1918, allocations: 1.621 MB / 0.4948 GB, free: 2.191 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01198/0.2038, allocations: 7.226 MB / 0.5019 GB, free: 10.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0218/0.2256, allocations: 13.34 MB / 0.5149 GB, free: 13.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005767/0.2314, allocations: 3.724 MB / 0.5185 GB, free: 9.723 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006863/0.2383, allocations: 4.244 MB / 0.5227 GB, free: 5.465 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003258/0.2416, allocations: 1.074 MB / 0.5237 GB, free: 4.391 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005413/0.247, allocations: 1.445 MB / 0.5251 GB, free: 2.945 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004257/0.2513, allocations: 2.151 MB / 0.5272 GB, free: 0.7891 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2377/0.489, allocations: 4.107 MB / 0.5313 GB, free: 23.11 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01844/0.5075, allocations: 14.36 MB / 0.5453 GB, free: 22.03 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.5076, allocations: 0.5625 kB / 0.5453 GB, free: 22.03 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5076, allocations: 0.8438 kB / 0.5453 GB, free: 22.03 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005667/0.5082, allocations: 1.375 kB / 0.5453 GB, free: 22.03 MB / 366.1 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.03252/0.5407, allocations: 8.807 MB / 0.5539 GB, free: 18.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.5408, allocations: 18.28 kB / 0.5539 GB, free: 18.1 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02566/0.5664, allocations: 4.378 MB / 0.5582 GB, free: 16.44 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01039/0.5769, allocations: 4.509 MB / 0.5626 GB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003676/0.5773, allocations: 487.1 kB / 0.563 GB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002547/0.5798, allocations: 0.6318 MB / 0.5637 GB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02243/0.6023, allocations: 10.35 MB / 0.5738 GB, free: 9.699 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002014/0.6025, allocations: 7.531 kB / 0.5738 GB, free: 9.695 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001436/0.6039, allocations: 269.2 kB / 0.574 GB, free: 9.496 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003314/0.6043, allocations: 415.9 kB / 0.5744 GB, free: 9.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01925/0.6235, allocations: 9.86 MB / 0.5841 GB, free: 2.078 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0702/0.6938, allocations: 35.67 MB / 0.6189 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02081/0.7146, allocations: 20.66 MB / 0.6391 GB, free: 6.551 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003994/0.7187, allocations: 2.308 MB / 0.6413 GB, free: 4.234 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003211/0.719, allocations: 224 kB / 0.6415 GB, free: 3.988 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.338e-05/0.7191, allocations: 64.36 kB / 0.6416 GB, free: 3.918 MB / 430.1 MB Notification: Performance of pre-optimization done (n=295): time 4.588e-06/0.7191, allocations: 0 / 0.6416 GB, free: 3.918 MB / 430.1 MB Notification: Performance of matching and sorting (n=301): time 0.02282/0.7419, allocations: 10.86 MB / 0.6522 GB, free: 8.945 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.382e-05/0.742, allocations: 89.78 kB / 0.6523 GB, free: 8.844 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005835/0.7479, allocations: 3.021 MB / 0.6552 GB, free: 5.805 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004171/0.7483, allocations: 69.7 kB / 0.6553 GB, free: 5.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002011/0.7503, allocations: 2.86 MB / 0.6581 GB, free: 2.852 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001084/0.7514, allocations: 1.042 MB / 0.6591 GB, free: 1.816 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001512/0.753, allocations: 0.9055 MB / 0.66 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.988e-05/0.7531, allocations: 301.1 kB / 0.6603 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003186/0.7563, allocations: 2.031 MB / 0.6623 GB, free: 14.56 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004434/0.7607, allocations: 3.719 MB / 0.6659 GB, free: 10.08 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009127/0.7699, allocations: 6.047 MB / 0.6718 GB, free: 3.465 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-05/0.77, allocations: 16 kB / 0.6718 GB, free: 3.449 MB / 462.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01585/0.7858, allocations: 6.631 MB / 0.6783 GB, free: 13.13 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.786, allocations: 28 kB / 0.6783 GB, free: 13.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001262/0.7861, allocations: 56.22 kB / 0.6784 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002019/0.7881, allocations: 0.6718 MB / 0.679 GB, free: 12.37 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004229/0.7924, allocations: 1.073 MB / 0.6801 GB, free: 11.37 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009626/0.802, allocations: 6.228 MB / 0.6862 GB, free: 5.047 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004254/0.8063, allocations: 283.5 kB / 0.6864 GB, free: 4.77 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009755/0.8073, allocations: 228 kB / 0.6867 GB, free: 4.547 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 251 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (560): * Single equations (assignments): 559 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(8,28,65.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005306/0.8127, allocations: 2.312 MB / 0.6889 GB, free: 2.301 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00116/0.8138, allocations: 328 kB / 0.6892 GB, free: 1.977 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01003/0.8239, allocations: 4.637 MB / 0.6938 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.602e-05/0.8239, allocations: 31.94 kB / 0.6938 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.128e-05/0.824, allocations: 8 kB / 0.6938 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.991e-05/0.824, allocations: 15.94 kB / 0.6938 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02675/0.8508, allocations: 11.27 MB / 0.7048 GB, free: 1.871 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.443e-05/0.8508, allocations: 4 kB / 0.7048 GB, free: 1.867 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002482/0.8533, allocations: 0.53 MB / 0.7053 GB, free: 1.367 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001795/0.8551, allocations: 0.5691 MB / 0.7059 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005155/0.8557, allocations: 67.98 kB / 0.706 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2051/1.061, allocations: 5.454 MB / 0.7113 GB, free: 173.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/1.061, allocations: 8.594 kB / 0.7113 GB, free: 173.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009674/1.07, allocations: 6.575 MB / 0.7177 GB, free: 172.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001617/1.072, allocations: 0.7194 MB / 0.7184 GB, free: 172.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005488/1.073, allocations: 64.05 kB / 0.7185 GB, free: 172.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001645/1.074, allocations: 148.8 kB / 0.7186 GB, free: 172.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004725/1.075, allocations: 208 kB / 0.7188 GB, free: 172.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001839/1.075, allocations: 90.97 kB / 0.7189 GB, free: 172.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002712/1.078, allocations: 2.02 MB / 0.7209 GB, free: 171.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.078, allocations: 0 / 0.7209 GB, free: 171.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00372/1.081, allocations: 1.173 MB / 0.722 GB, free: 171.5 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 2 (smee.short.port_p.reference.gamma,mechanicalPowerSensor.relSpeedSensor.phi_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(8,26,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004204/1.082, allocations: 226 kB / 0.7222 GB, free: 171.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01514/1.097, allocations: 8.29 MB / 0.7303 GB, free: 169.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/1.097, allocations: 3.938 kB / 0.7303 GB, free: 169.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003091/1.1, allocations: 2.265 MB / 0.7325 GB, free: 168.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003117/1.103, allocations: 0.6436 MB / 0.7332 GB, free: 168.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01879/1.122, allocations: 11.12 MB / 0.744 GB, free: 159 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004051/1.126, allocations: 4.149 MB / 0.7481 GB, free: 155.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003935/1.13, allocations: 1.32 MB / 0.7494 GB, free: 154.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000738/1.131, allocations: 277.3 kB / 0.7496 GB, free: 154.6 MB / 494.1 MB Notification: Performance of SimCode: time 1.362e-06/1.131, allocations: 0 / 0.7496 GB, free: 154.6 MB / 494.1 MB Notification: Performance of Templates: time 0.06498/1.196, allocations: 47.82 MB / 0.7963 GB, free: 109 MB / 494.1 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)