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.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.001349/0.001349, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.481/1.481, allocations: 230.6 MB / 253.4 MB, free: 8.281 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.001872/0.001872, allocations: 219.3 kB / 310 MB, free: 3.121 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.04179/0.04179, allocations: 8.921 MB / 375.3 MB, free: 1.875 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: translateModel(HanserModelica.InductionMachines.IMS_Characteristics1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1") translateModel(HanserModelica.InductionMachines.IMS_Characteristics1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1") [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.003092/0.003092, allocations: 79.88 kB / 0.4904 GB, free: 6.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3418, allocations: 55.61 MB / 0.5447 GB, free: 27.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.02179/0.3636, allocations: 27.22 MB / 0.5713 GB, free: 7.453 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01834/0.382, allocations: 8.21 MB / 0.5793 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007365/0.3893, allocations: 236.2 kB / 0.5796 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02495/0.4143, allocations: 9.473 MB / 0.5888 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01452/0.4288, allocations: 3.463 MB / 0.5922 GB, free: 8.828 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007275/0.4361, allocations: 1.866 MB / 0.594 GB, free: 7.367 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02235/0.4584, allocations: 12.37 MB / 0.6061 GB, free: 14.11 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03459/0.493, allocations: 16.03 MB / 0.6218 GB, free: 13.89 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01318/0.5062, allocations: 6.64 MB / 0.6282 GB, free: 7.234 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01402/0.5202, allocations: 7.308 MB / 0.6354 GB, free: 15.9 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005908/0.5261, allocations: 1.844 MB / 0.6372 GB, free: 14.06 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008686/0.5348, allocations: 2.238 MB / 0.6394 GB, free: 11.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006988/0.5418, allocations: 3.616 MB / 0.6429 GB, free: 8.195 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01543/0.5572, allocations: 6.923 MB / 0.6497 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03588/0.5931, allocations: 24.82 MB / 0.6739 GB, free: 8.348 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.016e-05/0.5931, allocations: 7.984 kB / 0.6739 GB, free: 8.34 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.5931, allocations: 0 / 0.6739 GB, free: 8.34 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0006789/0.5938, allocations: 0 / 0.6739 GB, free: 8.34 MB / 478.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.04735/0.6411, allocations: 14.69 MB / 0.6882 GB, free: 9.551 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.6412, allocations: 8.031 kB / 0.6882 GB, free: 9.543 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04792/0.6891, allocations: 8.436 MB / 0.6965 GB, free: 1.09 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5752/1.264, allocations: 7.765 MB / 0.7041 GB, free: 100.6 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008034/1.265, allocations: 0.8094 MB / 0.7049 GB, free: 100.2 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005028/1.27, allocations: 1.059 MB / 0.7059 GB, free: 99.85 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05139/1.321, allocations: 18.33 MB / 0.7238 GB, free: 92.63 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004742/1.322, allocations: 15.52 kB / 0.7238 GB, free: 92.62 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004621/1.327, allocations: 454.1 kB / 0.7242 GB, free: 92.28 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009319/1.328, allocations: 0.6707 MB / 0.7249 GB, free: 92.21 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03933/1.367, allocations: 17.6 MB / 0.7421 GB, free: 85.69 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09145/1.458, allocations: 56.89 MB / 0.7976 GB, free: 30.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01928/1.478, allocations: 12.82 MB / 0.8102 GB, free: 19.36 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005087/1.483, allocations: 3.74 MB / 0.8138 GB, free: 15.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004485/1.483, allocations: 157 kB / 0.814 GB, free: 15.47 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.177e-05/1.483, allocations: 94.56 kB / 0.814 GB, free: 15.37 MB / 494.1 MB Notification: Performance of pre-optimization done (n=518): time 6.482e-06/1.483, allocations: 3.938 kB / 0.814 GB, free: 15.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=524): time 0.04241/1.526, allocations: 21.46 MB / 0.835 GB, free: 9.906 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/1.526, allocations: 111.5 kB / 0.8351 GB, free: 9.781 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006952/1.533, allocations: 4.188 MB / 0.8392 GB, free: 5.566 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0007966/1.533, allocations: 113.7 kB / 0.8393 GB, free: 5.449 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003763/1.537, allocations: 4.67 MB / 0.8439 GB, free: 0.7656 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002388/1.54, allocations: 1.868 MB / 0.8457 GB, free: 14.92 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002268/1.542, allocations: 1.367 MB / 0.847 GB, free: 13.55 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001492/1.542, allocations: 312.9 kB / 0.8473 GB, free: 13.24 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005519/1.548, allocations: 3.449 MB / 0.8507 GB, free: 9.789 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007761/1.555, allocations: 5.893 MB / 0.8565 GB, free: 2.801 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01605/1.571, allocations: 10.04 MB / 0.8663 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.886e-05/1.571, allocations: 20 kB / 0.8663 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02369/1.595, allocations: 10.96 MB / 0.877 GB, free: 12.53 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.206e-05/1.595, allocations: 40 kB / 0.877 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001392/1.595, allocations: 76 kB / 0.8771 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004047/1.599, allocations: 1.432 MB / 0.8785 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006701/1.606, allocations: 1.618 MB / 0.8801 GB, free: 9.363 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01863/1.625, allocations: 11.4 MB / 0.8912 GB, free: 13.85 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005842/1.631, allocations: 399.5 kB / 0.8916 GB, free: 13.46 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00154/1.632, allocations: 347.9 kB / 0.8919 GB, free: 13.12 MB / 0.5607 GB 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 (840): * Single equations (assignments): 838 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(14,56,40.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01006/1.642, allocations: 4.161 MB / 0.896 GB, free: 8.941 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001512/1.644, allocations: 496.8 kB / 0.8964 GB, free: 8.453 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01613/1.66, allocations: 8.448 MB / 0.9047 GB, free: 15.89 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01261/1.672, allocations: 7.073 MB / 0.9116 GB, free: 8.73 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.371e-05/1.672, allocations: 12 kB / 0.9116 GB, free: 8.719 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.187e-05/1.673, allocations: 27.89 kB / 0.9116 GB, free: 8.691 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3621/2.035, allocations: 18.81 MB / 0.93 GB, free: 174.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.761e-05/2.035, allocations: 3.031 kB / 0.93 GB, free: 174.3 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003603/2.038, allocations: 0.9411 MB / 0.9309 GB, free: 174.2 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003309/2.042, allocations: 1.288 MB / 0.9322 GB, free: 174 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006709/2.042, allocations: 125.5 kB / 0.9323 GB, free: 173.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01305/2.055, allocations: 10.07 MB / 0.9421 GB, free: 168.7 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/2.055, allocations: 6.562 kB / 0.9421 GB, free: 168.7 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02254/2.078, allocations: 12.29 MB / 0.9542 GB, free: 163.6 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004181/2.082, allocations: 1.144 MB / 0.9553 GB, free: 163.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001088/2.083, allocations: 94.12 kB / 0.9554 GB, free: 163.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002768/2.086, allocations: 265.9 kB / 0.9556 GB, free: 163.2 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008705/2.087, allocations: 374.9 kB / 0.956 GB, free: 163.1 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002867/2.087, allocations: 154.2 kB / 0.9561 GB, free: 163.1 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.00462/2.092, allocations: 2.818 MB / 0.9589 GB, free: 162 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1e-07/2.092, allocations: 0 / 0.9589 GB, free: 162 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.007978/2.1, allocations: 1.937 MB / 0.9608 GB, free: 161.8 MB / 0.5763 GB 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 (499): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(14,56,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008344/2.1, allocations: 296.1 kB / 0.961 GB, free: 161.6 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01269/2.113, allocations: 8.393 MB / 0.9692 GB, free: 158.4 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/2.113, allocations: 1.5 kB / 0.9692 GB, free: 158.4 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.00607/2.119, allocations: 3.891 MB / 0.973 GB, free: 156.9 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005347/2.125, allocations: 1.129 MB / 0.9741 GB, free: 156.5 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03638/2.161, allocations: 19.26 MB / 0.993 GB, free: 142.6 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006662/2.168, allocations: 6.801 MB / 0.9996 GB, free: 137.2 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002156/2.17, allocations: 499.4 kB / 1 GB, free: 136.8 MB / 0.5763 GB Notification: Performance of SimCode: time 1.583e-06/2.17, allocations: 4 kB / 1 GB, free: 136.8 MB / 0.5763 GB Notification: Performance of Templates: time 0.5045/2.674, allocations: 185.1 MB / 1.181 GB, free: 182.1 MB / 0.5919 GB " [Timeout remaining time 657] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.makefile [Timeout 660] (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 & ./HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMS_Characteristics1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 20.098668531049043] Failed to read output from testmodel.py, exit status != 0: 2.6850722020026296 2.69426534 2.098302286 Calling exit ...