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.008503/0.008504, allocations: 99.77 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 222.9 MB / 239.4 MB, free: 4.523 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.001182/0.001182, allocations: 176.5 kB / 289.7 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03468/0.03468, allocations: 8.796 MB / 348.7 MB, free: 4.609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 79.88 kB / 463.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1086, allocations: 51.57 MB / 0.5034 GB, free: 9.457 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip1): time 0.253/0.3617, allocations: 25.39 MB / 0.5282 GB, free: 5.594 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01465/0.3763, allocations: 8.017 MB / 0.536 GB, free: 5.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005238/0.3816, allocations: 172.3 kB / 0.5362 GB, free: 5.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01484/0.3965, allocations: 6.102 MB / 0.5422 GB, free: 4.852 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008465/0.405, allocations: 2.746 MB / 0.5448 GB, free: 4.086 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004748/0.4097, allocations: 1.615 MB / 0.5464 GB, free: 3.922 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01093/0.4207, allocations: 7.276 MB / 0.5535 GB, free: 1.41 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01991/0.4406, allocations: 13.37 MB / 0.5666 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006684/0.4474, allocations: 3.737 MB / 0.5702 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007933/0.4553, allocations: 4.221 MB / 0.5744 GB, free: 6.082 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003295/0.4587, allocations: 1.074 MB / 0.5754 GB, free: 5.008 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005344/0.464, allocations: 1.429 MB / 0.5768 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002636/0.4667, allocations: 2.146 MB / 0.5789 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006993/0.4737, allocations: 4.113 MB / 0.5829 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01973/0.4935, allocations: 14.47 MB / 0.597 GB, free: 15.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.4935, allocations: 0 / 0.597 GB, free: 15.16 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.4935, allocations: 3.938 kB / 0.597 GB, free: 15.15 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004136/0.4939, allocations: 0 / 0.597 GB, free: 15.15 MB / 414.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.02772/0.5217, allocations: 8.937 MB / 0.6058 GB, free: 6.191 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.5217, allocations: 12.03 kB / 0.6058 GB, free: 6.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02523/0.5469, allocations: 4.432 MB / 0.6101 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009705/0.5567, allocations: 4.63 MB / 0.6146 GB, free: 13.14 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003805/0.5571, allocations: 482.5 kB / 0.6151 GB, free: 12.67 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001992/0.5591, allocations: 0.6288 MB / 0.6157 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02133/0.5804, allocations: 10.35 MB / 0.6258 GB, free: 1.656 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001772/0.5807, allocations: 11.94 kB / 0.6258 GB, free: 1.645 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002499/0.5832, allocations: 268.6 kB / 0.6261 GB, free: 1.391 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005542/0.5837, allocations: 417.7 kB / 0.6265 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02311/0.6069, allocations: 9.873 MB / 0.6361 GB, free: 7.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06427/0.6712, allocations: 35.39 MB / 0.6707 GB, free: 2.715 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02068/0.6919, allocations: 20.67 MB / 0.6909 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004163/0.6961, allocations: 2.301 MB / 0.6931 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003724/0.6965, allocations: 223.4 kB / 0.6933 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.669e-05/0.6966, allocations: 68.83 kB / 0.6934 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=295): time 4.428e-06/0.6966, allocations: 0 / 0.6934 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of matching and sorting (n=301): time 0.0226/0.7192, allocations: 10.97 MB / 0.7041 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/0.7193, allocations: 81.78 kB / 0.7042 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005061/0.7244, allocations: 3.025 MB / 0.7071 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000626/0.7251, allocations: 77.7 kB / 0.7072 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002554/0.7276, allocations: 2.963 MB / 0.7101 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001366/0.729, allocations: 1.076 MB / 0.7112 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001545/0.7306, allocations: 0.9138 MB / 0.712 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.7307, allocations: 305.1 kB / 0.7123 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003135/0.7338, allocations: 2.024 MB / 0.7143 GB, free: 3.172 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004378/0.7382, allocations: 3.724 MB / 0.7179 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008553/0.7468, allocations: 6.043 MB / 0.7238 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-05/0.7469, allocations: 16 kB / 0.7239 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01362/0.7605, allocations: 6.646 MB / 0.7304 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.779e-05/0.7607, allocations: 29.56 kB / 0.7304 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001329/0.7608, allocations: 56 kB / 0.7304 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002003/0.7628, allocations: 0.6759 MB / 0.7311 GB, free: 360 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2784/1.041, allocations: 1.064 MB / 0.7321 GB, free: 167.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008686/1.05, allocations: 6.22 MB / 0.7382 GB, free: 165.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004259/1.054, allocations: 279.5 kB / 0.7385 GB, free: 165.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008371/1.055, allocations: 229.6 kB / 0.7387 GB, free: 165.7 MB / 0.5294 GB 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.004624/1.06, allocations: 2.313 MB / 0.741 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008797/1.061, allocations: 340.9 kB / 0.7413 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008515/1.069, allocations: 4.632 MB / 0.7458 GB, free: 164.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.773e-05/1.069, allocations: 32.5 kB / 0.7458 GB, free: 164.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.646e-05/1.069, allocations: 7.844 kB / 0.7458 GB, free: 164.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.396e-05/1.069, allocations: 15.09 kB / 0.7459 GB, free: 164.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01846/1.088, allocations: 11.09 MB / 0.7567 GB, free: 160.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/1.088, allocations: 5.656 kB / 0.7567 GB, free: 160.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002173/1.09, allocations: 0.5309 MB / 0.7572 GB, free: 160.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001683/1.092, allocations: 0.5653 MB / 0.7578 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002028/1.092, allocations: 69.02 kB / 0.7578 GB, free: 160 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006473/1.098, allocations: 5.462 MB / 0.7632 GB, free: 156.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/1.098, allocations: 9.656 kB / 0.7632 GB, free: 156.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008799/1.107, allocations: 6.604 MB / 0.7696 GB, free: 153.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001511/1.109, allocations: 0.738 MB / 0.7703 GB, free: 153.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004515/1.109, allocations: 60.72 kB / 0.7704 GB, free: 153.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001593/1.111, allocations: 148.5 kB / 0.7705 GB, free: 153.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004362/1.111, allocations: 204 kB / 0.7707 GB, free: 153.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001612/1.111, allocations: 89.92 kB / 0.7708 GB, free: 153.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002603/1.114, allocations: 2.016 MB / 0.7728 GB, free: 152.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/1.114, allocations: 1.938 kB / 0.7728 GB, free: 152.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003919/1.118, allocations: 1.169 MB / 0.7739 GB, free: 152.5 MB / 0.5294 GB 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.0004686/1.119, allocations: 234 kB / 0.7742 GB, free: 152.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007456/1.126, allocations: 5.042 MB / 0.7791 GB, free: 150.4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/1.126, allocations: 3.875 kB / 0.7791 GB, free: 150.4 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003323/1.129, allocations: 2.277 MB / 0.7813 GB, free: 149.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003751/1.133, allocations: 0.6379 MB / 0.7819 GB, free: 149.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01607/1.149, allocations: 11.16 MB / 0.7928 GB, free: 139.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003227/1.152, allocations: 4.15 MB / 0.7969 GB, free: 135.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003253/1.156, allocations: 1.322 MB / 0.7982 GB, free: 134 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007792/1.157, allocations: 267.4 kB / 0.7984 GB, free: 133.7 MB / 0.5294 GB Notification: Performance of SimCode: time 1.273e-06/1.157, allocations: 0 / 0.7984 GB, free: 133.7 MB / 0.5294 GB Notification: Performance of Templates: time 0.06495/1.221, allocations: 45.25 MB / 0.8426 GB, free: 88.76 MB / 0.5294 GB 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)