Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.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/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/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_Characteristics1,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.InductionMachines.IMS_Characteristics1,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1",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.0009789/0.0009787, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.354/1.354, allocations: 223.2 MB / 238.9 MB, free: 5.664 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.001093/0.001093, allocations: 196.2 kB / 290.2 MB, free: 2.359 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03221/0.03221, allocations: 8.785 MB / 350 MB, free: 4.758 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003816/0.0003816, allocations: 14.28 kB / 413.2 MB, free: 43.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1134, allocations: 52.56 MB / 465.7 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.02137/0.1348, allocations: 21.62 MB / 487.3 MB, free: 7.824 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01606/0.1509, allocations: 7.635 MB / 495 MB, free: 176 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005069/0.156, allocations: 175.4 kB / 495.2 MB, free: 0 / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005989/0.162, allocations: 1.633 MB / 496.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01004/0.1721, allocations: 2.805 MB / 499.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004958/0.1771, allocations: 1.281 MB / 0.4891 GB, free: 10.28 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01858/0.1957, allocations: 10.85 MB / 0.4997 GB, free: 15.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03905/0.2348, allocations: 19.6 MB / 0.5189 GB, free: 11.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008725/0.2435, allocations: 4.361 MB / 0.5231 GB, free: 7.359 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009419/0.253, allocations: 4.774 MB / 0.5278 GB, free: 2.566 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003513/0.2565, allocations: 0.7188 MB / 0.5285 GB, free: 1.848 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005366/0.2619, allocations: 1.003 MB / 0.5295 GB, free: 0.8438 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2308/0.4927, allocations: 2.152 MB / 0.5316 GB, free: 24.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004586/0.4974, allocations: 2.315 MB / 0.5338 GB, free: 24.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02496/0.5223, allocations: 20.87 MB / 0.5542 GB, free: 16.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5224, allocations: 0 / 0.5542 GB, free: 16.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.5224, allocations: 0 / 0.5542 GB, free: 16.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0008782/0.5233, allocations: 0 / 0.5542 GB, free: 16.48 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: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.03954/0.5628, allocations: 12.19 MB / 0.5661 GB, free: 10.53 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.5629, allocations: 13.11 kB / 0.5661 GB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008824/0.5717, allocations: 1.785 MB / 0.5679 GB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04657/0.6183, allocations: 8.266 MB / 0.5759 GB, free: 7.012 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0195/0.6378, allocations: 7.384 MB / 0.5832 GB, free: 5.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009844/0.6389, allocations: 0.8073 MB / 0.5839 GB, free: 5.066 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007806/0.6467, allocations: 1.062 MB / 0.585 GB, free: 5.055 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05643/0.7032, allocations: 18.14 MB / 0.6027 GB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004691/0.7037, allocations: 10.41 kB / 0.6027 GB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005469/0.7091, allocations: 448.5 kB / 0.6031 GB, free: 9.617 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009684/0.7101, allocations: 0.6768 MB / 0.6038 GB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04561/0.7558, allocations: 17.47 MB / 0.6209 GB, free: 8.543 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1156/0.8714, allocations: 58.83 MB / 0.6783 GB, free: 13.32 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2743/1.146, allocations: 37.42 MB / 0.7148 GB, free: 116 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008411/1.147, allocations: 202.9 kB / 0.715 GB, free: 115.9 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.047e-05/1.147, allocations: 89.86 kB / 0.7151 GB, free: 115.9 MB / 478.1 MB Notification: Performance of pre-optimization done (n=524): time 7.514e-06/1.147, allocations: 0 / 0.7151 GB, free: 115.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=530): time 0.0523/1.199, allocations: 22.18 MB / 0.7368 GB, free: 111.4 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/1.199, allocations: 110 kB / 0.7369 GB, free: 111.3 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006491/1.206, allocations: 4.112 MB / 0.7409 GB, free: 109.7 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001416/1.207, allocations: 104.6 kB / 0.741 GB, free: 109.6 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002505/1.21, allocations: 4.514 MB / 0.7454 GB, free: 106.2 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002006/1.212, allocations: 1.796 MB / 0.7472 GB, free: 104.9 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004313/1.212, allocations: 143.2 kB / 0.7473 GB, free: 104.7 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003352/1.212, allocations: 0.5919 MB / 0.7479 GB, free: 104.3 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004692/1.217, allocations: 3.474 MB / 0.7513 GB, free: 103 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006346/1.224, allocations: 5.89 MB / 0.757 GB, free: 98.58 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007811/1.231, allocations: 4.792 MB / 0.7617 GB, free: 96.43 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.892e-05/1.232, allocations: 22.28 kB / 0.7617 GB, free: 96.43 MB / 478.1 MB Notification: Performance of matching and sorting (n=916) (initialization): time 0.0242/1.256, allocations: 10.99 MB / 0.7725 GB, free: 86.86 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000124/1.256, allocations: 44.27 kB / 0.7725 GB, free: 86.82 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001805/1.256, allocations: 80 kB / 0.7726 GB, free: 86.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003918/1.26, allocations: 1.383 MB / 0.7739 GB, free: 85.68 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006669/1.267, allocations: 1.61 MB / 0.7755 GB, free: 84.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01557/1.282, allocations: 10.87 MB / 0.7861 GB, free: 73.45 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006718/1.289, allocations: 412 kB / 0.7865 GB, free: 73.05 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001864/1.291, allocations: 332 kB / 0.7868 GB, free: 72.73 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * 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 (843): * Single equations (assignments): 838 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(14,41.3%) 56} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01/1.301, allocations: 4.161 MB / 0.7909 GB, free: 68.55 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00184/1.303, allocations: 482.1 kB / 0.7914 GB, free: 68.07 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01705/1.32, allocations: 8.568 MB / 0.7997 GB, free: 59.43 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01248/1.333, allocations: 7.152 MB / 0.8067 GB, free: 52.19 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-05/1.333, allocations: 12 kB / 0.8067 GB, free: 52.18 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001117/1.333, allocations: 30.91 kB / 0.8068 GB, free: 52.15 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03582/1.369, allocations: 19.39 MB / 0.8257 GB, free: 32.49 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.951e-05/1.369, allocations: 4 kB / 0.8257 GB, free: 32.49 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004103/1.373, allocations: 0.9403 MB / 0.8266 GB, free: 31.55 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003267/1.376, allocations: 1.238 MB / 0.8278 GB, free: 30.31 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001079/1.377, allocations: 108 kB / 0.8279 GB, free: 30.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.012/1.389, allocations: 9.622 MB / 0.8373 GB, free: 20.45 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.389, allocations: 7.984 kB / 0.8373 GB, free: 20.45 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01835/1.408, allocations: 12.62 MB / 0.8496 GB, free: 7.551 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003906/1.412, allocations: 1.182 MB / 0.8508 GB, free: 6.344 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001439/1.413, allocations: 91.5 kB / 0.8509 GB, free: 6.258 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003482/1.416, allocations: 287.8 kB / 0.8512 GB, free: 5.977 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007722/1.417, allocations: 348.4 kB / 0.8515 GB, free: 5.633 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003098/1.418, allocations: 148 kB / 0.8516 GB, free: 5.488 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004373/1.422, allocations: 2.752 MB / 0.8543 GB, free: 2.723 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.2e-07/1.422, allocations: 0 / 0.8543 GB, free: 2.723 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.009384/1.431, allocations: 1.936 MB / 0.8562 GB, free: 0.793 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (ims.rotor.stray.port_p.reference.gamma,speed.phi) * 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 (502): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(14,41.3%) 56} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02219/1.454, allocations: 13.89 MB / 0.8698 GB, free: 2.672 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01867/1.472, allocations: 8.778 MB / 0.8784 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/1.472, allocations: 0 / 0.8784 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.009892/1.482, allocations: 4.215 MB / 0.8825 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006612/1.489, allocations: 0.9994 MB / 0.8834 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3875/1.876, allocations: 108.7 MB / 0.9896 GB, free: 132.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008652/1.885, allocations: 7.188 MB / 0.9967 GB, free: 129.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006797/1.892, allocations: 2.315 MB / 0.9989 GB, free: 129.1 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00698/1.899, allocations: 3.847 MB / 1.003 GB, free: 125.6 MB / 0.5137 GB Notification: Performance of SimCode: time 1.663e-06/1.899, allocations: 0 / 1.003 GB, free: 125.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4262/2.325, allocations: 143.8 MB / 1.143 GB, free: 163.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001511/2.325, allocations: 202.6 kB / 1.143 GB, free: 163.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.849/7.174, allocations: 0 / 1.143 GB, free: 163.6 MB / 0.5137 GB (rm -f HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_InductionMachines_IMS_Characteristics1.fmu > HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe 2>&1) Environment - environmentSimulation: