Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 114.8 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.735/1.735, allocations: 230.6 MB / 250.5 MB, free: 9.391 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002674/0.002674, allocations: 216.4 kB / 306.7 MB, free: 4.332 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.04247/0.04247, allocations: 8.911 MB / 371.7 MB, free: 3.465 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HanserModelica.InductionMachines.IMC_withLosses,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_withLosses",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.InductionMachines.IMC_withLosses,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_withLosses",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002546/0.002546, allocations: 75.89 kB / 496.4 MB, free: 9.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4284/0.4309, allocations: 55.57 MB / 0.5391 GB, free: 26.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_withLosses): time 0.02354/0.4544, allocations: 25.02 MB / 0.5635 GB, free: 8.598 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01913/0.4736, allocations: 8.261 MB / 0.5716 GB, free: 2.695 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007453/0.481, allocations: 213.8 kB / 0.5718 GB, free: 2.629 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02265/0.5037, allocations: 8.476 MB / 0.5801 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01804/0.5217, allocations: 3.065 MB / 0.5831 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01132/0.533, allocations: 1.848 MB / 0.5849 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02529/0.5583, allocations: 11.22 MB / 0.5958 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04874/0.6071, allocations: 17.42 MB / 0.6128 GB, free: 2.379 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01554/0.6226, allocations: 6.032 MB / 0.6187 GB, free: 12.33 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01549/0.6381, allocations: 6.553 MB / 0.6251 GB, free: 5.758 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007088/0.6452, allocations: 1.715 MB / 0.6268 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01114/0.6563, allocations: 2.152 MB / 0.6289 GB, free: 1.891 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00858/0.6649, allocations: 3.402 MB / 0.6322 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01688/0.6818, allocations: 6.358 MB / 0.6384 GB, free: 8.098 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04923/0.731, allocations: 23.2 MB / 0.6611 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.147e-05/0.731, allocations: 4 kB / 0.6611 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.589e-06/0.731, allocations: 0 / 0.6611 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0009075/0.7319, allocations: 0 / 0.6611 GB, free: 0.8125 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.06084/0.7928, allocations: 13.64 MB / 0.6744 GB, free: 3.055 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/0.7928, allocations: 12.03 kB / 0.6744 GB, free: 3.043 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0005019/0.7933, allocations: 305.5 kB / 0.6747 GB, free: 2.742 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008617/0.8019, allocations: 1.624 MB / 0.6763 GB, free: 1.105 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04121/0.8432, allocations: 6.264 MB / 0.6824 GB, free: 10.83 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02181/0.865, allocations: 7.313 MB / 0.6896 GB, free: 3.438 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001132/0.8661, allocations: 0.7304 MB / 0.6903 GB, free: 2.707 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005725/0.8718, allocations: 0.953 MB / 0.6912 GB, free: 1.754 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7056/1.577, allocations: 16.24 MB / 0.7071 GB, free: 98.02 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000569/1.578, allocations: 17.25 kB / 0.7071 GB, free: 98.01 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005919/1.584, allocations: 400.6 kB / 0.7075 GB, free: 97.71 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009219/1.585, allocations: 0.5653 MB / 0.708 GB, free: 97.64 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0504/1.635, allocations: 15.21 MB / 0.7229 GB, free: 91.89 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1107/1.746, allocations: 52.8 MB / 0.7744 GB, free: 50.28 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02067/1.767, allocations: 19.79 MB / 0.7938 GB, free: 28.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007149/1.774, allocations: 3.408 MB / 0.7971 GB, free: 25.15 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006506/1.774, allocations: 300.1 kB / 0.7974 GB, free: 24.85 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.688e-05/1.774, allocations: 82.27 kB / 0.7975 GB, free: 24.76 MB / 494.1 MB Notification: Performance of pre-optimization done (n=473): time 6.382e-06/1.774, allocations: 0 / 0.7975 GB, free: 24.76 MB / 494.1 MB Warning: Function $DER$Modelica$PElectrical$PQuasiStatic$PPolyphase$PFunctions$PquasiRMS has not the expected inputs. Expected inputs are record Complex Real re; Real im; end Complex;[:]. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: imc.is[3].im 2: imc.is[3].re 3: imc.is[2].im 4: imc.is[2].re 5: imc.is[1].im 6: imc.is[1].re Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: imc.rotorCage.omega Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=661): time 0.2378/2.012, allocations: 66.83 MB / 0.8627 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0463/2.059, allocations: 23.2 MB / 0.8854 GB, free: 14.4 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01029/2.069, allocations: 4.519 MB / 0.8898 GB, free: 9.902 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001587/2.07, allocations: 129.7 kB / 0.8899 GB, free: 9.77 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.005185/2.076, allocations: 4.339 MB / 0.8941 GB, free: 5.488 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.004348/2.08, allocations: 2.328 MB / 0.8964 GB, free: 3.141 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004008/2.084, allocations: 1.498 MB / 0.8979 GB, free: 1.637 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 0.0001607/2.084, allocations: 305.1 kB / 0.8982 GB, free: 1.336 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009556/2.094, allocations: 4.36 MB / 0.9024 GB, free: 12.97 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01408/2.108, allocations: 6.618 MB / 0.9089 GB, free: 5.391 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.37/2.478, allocations: 11.82 MB / 0.9204 GB, free: 177.2 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001109/2.478, allocations: 18.75 kB / 0.9205 GB, free: 177.2 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.03493/2.513, allocations: 15.18 MB / 0.9353 GB, free: 171.5 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 8.58e-05/2.513, allocations: 34.75 kB / 0.9353 GB, free: 171.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002011/2.513, allocations: 68.78 kB / 0.9354 GB, free: 171.5 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01445/2.527, allocations: 4.456 MB / 0.9397 GB, free: 170.5 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007927/2.535, allocations: 1.54 MB / 0.9412 GB, free: 170.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05628/2.592, allocations: 39.69 MB / 0.98 GB, free: 147.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007437/2.599, allocations: 438.2 kB / 0.9804 GB, free: 147.1 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002272/2.601, allocations: 368.4 kB / 0.9808 GB, free: 147 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (789): * Single equations (assignments): 782 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(14,54,45.9%), (1,6,100.0%), (14,54,42.3%), (1,6,100.0%), (14,54,40.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01073/2.612, allocations: 4.11 MB / 0.9848 GB, free: 145 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001915/2.614, allocations: 0.5418 MB / 0.9853 GB, free: 144.9 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02598/2.64, allocations: 14.39 MB / 0.9993 GB, free: 134.4 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02389/2.664, allocations: 11.24 MB / 1.01 GB, free: 123.1 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000192/2.664, allocations: 36 kB / 1.01 GB, free: 123.1 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002902/2.664, allocations: 35.86 kB / 1.01 GB, free: 123.1 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07201/2.736, allocations: 33.85 MB / 1.043 GB, free: 89.06 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.773e-05/2.736, allocations: 8 kB / 1.043 GB, free: 89.05 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004883/2.741, allocations: 0.9832 MB / 1.044 GB, free: 88.07 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01157/2.753, allocations: 3.825 MB / 1.048 GB, free: 84.23 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002012/2.755, allocations: 148 kB / 1.048 GB, free: 84.09 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04487/2.8, allocations: 31.67 MB / 1.079 GB, free: 51.89 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02984/2.83, allocations: 20.2 MB / 1.099 GB, free: 31.05 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03531/2.865, allocations: 18.26 MB / 1.117 GB, free: 12.47 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004811/2.87, allocations: 1.485 MB / 1.118 GB, free: 10.96 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001861/2.872, allocations: 124 kB / 1.118 GB, free: 10.84 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004935/2.877, allocations: 299.7 kB / 1.119 GB, free: 10.55 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00199/2.879, allocations: 0.4941 MB / 1.119 GB, free: 10.05 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008572/2.879, allocations: 203.9 kB / 1.119 GB, free: 9.852 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.005786/2.885, allocations: 3.115 MB / 1.122 GB, free: 6.727 MB / 0.5763 GB Notification: Performance of sort global known variables: time 5.61e-07/2.885, allocations: 0 / 1.122 GB, free: 6.727 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01391/2.899, allocations: 2.275 MB / 1.125 GB, free: 4.461 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 4 ($STATESET1.x,imc.inertiaRotor.w,imc.rotorCage.port_p.reference.gamma,sineVoltage.plug_p.reference.gamma) * 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 (508): * Single equations (assignments): 502 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(14,42,44.9%), (1,6,100.0%), (15,50,41.8%), (14,54,42.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.4155/3.315, allocations: 19.38 MB / 1.144 GB, free: 185.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02981/3.344, allocations: 12.48 MB / 1.156 GB, free: 184 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.808e-05/3.344, allocations: 4 kB / 1.156 GB, free: 184 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01678/3.361, allocations: 6.684 MB / 1.162 GB, free: 181.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00959/3.371, allocations: 1.126 MB / 1.163 GB, free: 180.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1761/3.547, allocations: 78.03 MB / 1.24 GB, free: 128.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008278/3.555, allocations: 6.974 MB / 1.246 GB, free: 121.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005898/3.561, allocations: 2.266 MB / 1.249 GB, free: 119.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005626/3.567, allocations: 3.784 MB / 1.252 GB, free: 115.6 MB / 0.5919 GB Notification: Performance of SimCode: time 1.323e-06/3.567, allocations: 0 / 1.252 GB, free: 115.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7583/4.325, allocations: 188.9 MB / 1.437 GB, free: 141.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 33.46/37.78, allocations: 4 kB / 1.437 GB, free: 141.9 MB / 0.5919 GB " [Timeout remaining time 622] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_InductionMachines_IMC_withLosses_fmu --startTime=0 --stopTime=10 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_InductionMachines_IMC_withLosses.fmu > HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 87.04799960396485] Failed to read output from testmodel.py, exit status != 0: 38.0743412070442 38.087394863 37.353458215 Calling exit ...