Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMS_Start.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: "" <> buildModelFMU(HanserModelica.InductionMachines.IMS_Start,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.InductionMachines.IMS_Start,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00635/0.00635, allocations: 100.8 kB / 15.73 MB, free: 6.031 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.471/1.471, allocations: 222.9 MB / 239.4 MB, free: 4.559 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.001797/0.001797, allocations: 192.5 kB / 289.7 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0363/0.0363, allocations: 8.793 MB / 348.7 MB, free: 4.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 87.86 kB / 463.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1185, allocations: 51.54 MB / 0.5029 GB, free: 9.984 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Start): time 0.3285/0.4471, allocations: 45.32 MB / 0.5472 GB, free: 2.746 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03229/0.4794, allocations: 11.78 MB / 0.5587 GB, free: 14.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01618/0.4956, allocations: 354.7 kB / 0.559 GB, free: 14.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03297/0.5287, allocations: 12.34 MB / 0.5711 GB, free: 6.512 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0266/0.5553, allocations: 4.801 MB / 0.5758 GB, free: 2.609 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01323/0.5685, allocations: 2.921 MB / 0.5786 GB, free: 276 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04117/0.6097, allocations: 20.95 MB / 0.5991 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.08272/0.6925, allocations: 41.95 MB / 0.64 GB, free: 5.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02306/0.7156, allocations: 10.99 MB / 0.6508 GB, free: 10.73 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02228/0.7379, allocations: 12.01 MB / 0.6625 GB, free: 14.68 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0117/0.7497, allocations: 3.133 MB / 0.6656 GB, free: 11.55 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01438/0.7641, allocations: 3.542 MB / 0.669 GB, free: 8.008 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01232/0.7764, allocations: 6.251 MB / 0.6751 GB, free: 1.742 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.03053/0.807, allocations: 11.89 MB / 0.6867 GB, free: 5.805 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.7491/1.556, allocations: 41.43 MB / 0.7272 GB, free: 83.84 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/1.556, allocations: 0.7188 kB / 0.7272 GB, free: 83.84 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.924e-06/1.556, allocations: 0 / 0.7272 GB, free: 83.84 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 0.001522/1.558, allocations: 1.984 kB / 0.7272 GB, free: 83.84 MB / 0.5138 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5030 * Number of variables: 5030 Notification: Performance of Generate backend data structure: time 0.09175/1.649, allocations: 23.89 MB / 0.7505 GB, free: 77.94 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/1.65, allocations: 9.375 kB / 0.7505 GB, free: 77.94 MB / 0.5138 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01328/1.663, allocations: 2.943 MB / 0.7534 GB, free: 77.73 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06213/1.725, allocations: 11.35 MB / 0.7645 GB, free: 74.88 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03248/1.757, allocations: 13.41 MB / 0.7776 GB, free: 68.93 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001462/1.759, allocations: 1.364 MB / 0.7789 GB, free: 67.58 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00912/1.768, allocations: 1.784 MB / 0.7807 GB, free: 65.81 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08661/1.855, allocations: 29.59 MB / 0.8096 GB, free: 36.14 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009105/1.856, allocations: 20.56 kB / 0.8096 GB, free: 36.12 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0087/1.864, allocations: 0.7469 MB / 0.8103 GB, free: 35.39 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008637/1.865, allocations: 0.9903 MB / 0.8113 GB, free: 34.4 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05803/1.923, allocations: 27.29 MB / 0.8379 GB, free: 7.094 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2019/2.125, allocations: 92.92 MB / 0.9287 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3357/2.461, allocations: 51.96 MB / 0.9794 GB, free: 198.1 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0136/2.475, allocations: 7.292 MB / 0.9865 GB, free: 198 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04595/2.521, allocations: 20 MB / 1.006 GB, free: 191.5 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.718e-05/2.521, allocations: 112 kB / 1.006 GB, free: 191.4 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=677): time 9.208e-06/2.521, allocations: 0 / 1.006 GB, free: 191.4 MB / 0.6232 GB Notification: Performance of matching and sorting (n=685): time 0.0903/2.611, allocations: 38.14 MB / 1.043 GB, free: 175.7 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.868e-05/2.611, allocations: 151.6 kB / 1.044 GB, free: 175.6 MB / 0.6232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01187/2.623, allocations: 7.112 MB / 1.051 GB, free: 171.8 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.00132/2.625, allocations: 133.7 kB / 1.051 GB, free: 171.6 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.003731/2.628, allocations: 7.812 MB / 1.058 GB, free: 164.4 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.002342/2.631, allocations: 2.326 MB / 1.061 GB, free: 162.1 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002882/2.634, allocations: 1.862 MB / 1.062 GB, free: 160.2 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 4.527e-05/2.634, allocations: 301.1 kB / 1.063 GB, free: 159.9 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006567/2.64, allocations: 4.86 MB / 1.067 GB, free: 155.1 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009457/2.65, allocations: 8.339 MB / 1.076 GB, free: 145.1 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01542/2.665, allocations: 13.98 MB / 1.089 GB, free: 129.5 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001098/2.665, allocations: 32 kB / 1.089 GB, free: 129.5 MB / 0.6232 GB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.02542/2.691, allocations: 16.08 MB / 1.105 GB, free: 113.2 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 8.881e-05/2.691, allocations: 60.34 kB / 1.105 GB, free: 113.2 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001733/2.691, allocations: 116 kB / 1.105 GB, free: 113.1 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00548/2.697, allocations: 2.577 MB / 1.108 GB, free: 110.5 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00746/2.704, allocations: 2.098 MB / 1.11 GB, free: 108.4 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02972/2.734, allocations: 30.79 MB / 1.14 GB, free: 76.5 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008379/2.742, allocations: 0.5279 MB / 1.14 GB, free: 75.97 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002092/2.744, allocations: 463.9 kB / 1.141 GB, free: 75.52 MB / 0.6232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 511 * Number of states: 0 () * Number of discrete variables: 12 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,rheostatQS.booleanStep[3].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[1].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1089): * Single equations (assignments): 1079 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (18,100,38.3%), (1,5,100.0%), (1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01272/2.757, allocations: 6.769 MB / 1.147 GB, free: 68.73 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002041/2.759, allocations: 0.7601 MB / 1.148 GB, free: 67.96 MB / 0.6232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01951/2.779, allocations: 13.08 MB / 1.161 GB, free: 54.67 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01176/2.79, allocations: 8.212 MB / 1.169 GB, free: 46.36 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.039e-05/2.791, allocations: 28 kB / 1.169 GB, free: 46.33 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001162/2.791, allocations: 39.8 kB / 1.169 GB, free: 46.29 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04791/2.839, allocations: 27.92 MB / 1.196 GB, free: 18.21 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-05/2.839, allocations: 4 kB / 1.196 GB, free: 18.21 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004614/2.843, allocations: 1.108 MB / 1.197 GB, free: 17.1 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006397/2.85, allocations: 2.639 MB / 1.2 GB, free: 14.43 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001322/2.851, allocations: 152 kB / 1.2 GB, free: 14.28 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3081/3.159, allocations: 35.84 MB / 1.235 GB, free: 197.1 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/3.159, allocations: 6.344 kB / 1.235 GB, free: 197.1 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03822/3.197, allocations: 18.78 MB / 1.253 GB, free: 192.2 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006387/3.204, allocations: 1.757 MB / 1.255 GB, free: 191.6 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002788/3.207, allocations: 130.7 kB / 1.255 GB, free: 191.5 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005372/3.212, allocations: 393.9 kB / 1.256 GB, free: 191.4 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0016/3.214, allocations: 0.5304 MB / 1.256 GB, free: 191.3 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000532/3.214, allocations: 195.2 kB / 1.256 GB, free: 191.3 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.008797/3.223, allocations: 4.785 MB / 1.261 GB, free: 189.6 MB / 0.6232 GB Notification: Performance of sort global known variables: time 5.11e-07/3.223, allocations: 3.938 kB / 1.261 GB, free: 189.6 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.01505/3.238, allocations: 3.058 MB / 1.264 GB, free: 189.3 MB / 0.6232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 11 (ims.inertiaRotor.w,ims.stator.zeroInductor.i0,ims.stator.core.Phi.re,ims.stator.core.Phi.im,ims.rotor.zeroInductor.i0,ims.rotor.core.Phi.re,ims.rotor.core.Phi.im,quadraticLoadTorque.phi,imsQS.inertiaRotor.w,imsQS.rotor.stray.port_p.reference.gamma,quadraticLoadTorqueQS.phi) * Number of discrete variables: 12 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (560): * Single equations (assignments): 548 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,5,100.0%), (1,8,100.0%), (1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (18,100,41.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0317/3.27, allocations: 19.6 MB / 1.283 GB, free: 180.7 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.02148/3.291, allocations: 13.38 MB / 1.296 GB, free: 172.4 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/3.291, allocations: 4 kB / 1.296 GB, free: 172.4 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.01116/3.303, allocations: 7.559 MB / 1.303 GB, free: 165.7 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01001/3.313, allocations: 2.147 MB / 1.306 GB, free: 163.9 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1972/3.51, allocations: 103.1 MB / 1.406 GB, free: 61.54 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02534/3.535, allocations: 11.34 MB / 1.417 GB, free: 50.14 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.01204/3.547, allocations: 3.285 MB / 1.421 GB, free: 46.84 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01157/3.559, allocations: 6.818 MB / 1.427 GB, free: 40.02 MB / 0.6232 GB Notification: Performance of SimCode: time 1.132e-06/3.559, allocations: 4 kB / 1.427 GB, free: 40.02 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8732/4.432, allocations: 246.8 MB / 1.668 GB, free: 139.1 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.48/34.91, allocations: 8.031 kB / 1.668 GB, free: 139.1 MB / 0.6232 GB (rm -f HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMS_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_InductionMachines_IMS_Start_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_InductionMachines_IMS_Start.fmu > HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe 2>&1)