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.001274/0.001274, allocations: 83.03 kB / 19.18 MB, free: 2.516 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.396/1.396, allocations: 177.1 MB / 199.4 MB, free: 8.449 MB / 190.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.001837/0.001837, allocations: 169.5 kB / 256 MB, free: 4.328 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.03921/0.03921, allocations: 6.665 MB / 319 MB, free: 5.391 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.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_withLosses") translateModel(HanserModelica.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 445.9 MB, free: 25.2 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.535e-05, allocations: 6.219 kB / 445.9 MB, free: 25.19 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_withLosses): time 0.01766/0.01769, allocations: 21.53 MB / 467.4 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01598/0.03367, allocations: 7.909 MB / 475.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005181/0.03885, allocations: 214.9 kB / 475.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02108/0.05993, allocations: 8.273 MB / 483.8 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2085/0.2685, allocations: 3.129 MB / 487 MB, free: 16.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006142/0.2746, allocations: 1.826 MB / 488.8 MB, free: 16.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01775/0.2924, allocations: 11.69 MB / 0.4887 GB, free: 14.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02499/0.3173, allocations: 14.52 MB / 0.5029 GB, free: 7.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01773/0.3351, allocations: 8.905 MB / 0.5116 GB, free: 3.191 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0122/0.3473, allocations: 5.663 MB / 0.5172 GB, free: 15.3 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005421/0.3527, allocations: 1.717 MB / 0.5188 GB, free: 13.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00841/0.3611, allocations: 2.15 MB / 0.5209 GB, free: 11.49 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00624/0.3673, allocations: 3.46 MB / 0.5243 GB, free: 8.227 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01181/0.3791, allocations: 4.232 MB / 0.5284 GB, free: 4.184 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03762/0.4168, allocations: 23.51 MB / 0.5514 GB, free: 13.37 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.4168, allocations: 0 / 0.5514 GB, free: 13.37 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4168, allocations: 0 / 0.5514 GB, free: 13.37 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0007141/0.4175, allocations: 0.7812 kB / 0.5514 GB, free: 13.37 MB / 398.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.04863/0.4661, allocations: 13.47 MB / 0.5646 GB, free: 15.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.994e-05/0.4662, allocations: 15.98 kB / 0.5646 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03858/0.5048, allocations: 6.253 MB / 0.5707 GB, free: 9.703 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02025/0.525, allocations: 7.365 MB / 0.5779 GB, free: 2.555 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001419/0.5264, allocations: 0.719 MB / 0.5786 GB, free: 1.848 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004942/0.5314, allocations: 0.9508 MB / 0.5795 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04592/0.5773, allocations: 16.31 MB / 0.5954 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005095/0.5778, allocations: 15.95 kB / 0.5954 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003857/0.5817, allocations: 399.1 kB / 0.5958 GB, free: 140 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007702/0.5824, allocations: 0.563 MB / 0.5964 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03672/0.6191, allocations: 15.07 MB / 0.6111 GB, free: 496 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1061/0.7252, allocations: 45.43 MB / 0.6555 GB, free: 2.984 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3698/1.095, allocations: 8.528 MB / 0.6638 GB, free: 154.3 MB / 494.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005893/1.101, allocations: 3.332 MB / 0.667 GB, free: 153.1 MB / 494.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004402/1.101, allocations: 116.5 kB / 0.6671 GB, free: 153.1 MB / 494.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.885e-05/1.101, allocations: 78.08 kB / 0.6672 GB, free: 153 MB / 494.2 MB Notification: Performance of pre-optimization done (n=447): time 7.714e-06/1.101, allocations: 1.188 kB / 0.6672 GB, free: 153 MB / 494.2 MB Notification: Performance of matching and sorting (n=452): time 0.04756/1.149, allocations: 20.42 MB / 0.6872 GB, free: 146.1 MB / 494.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/1.149, allocations: 95.92 kB / 0.6873 GB, free: 146.1 MB / 494.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005285/1.154, allocations: 4.423 MB / 0.6916 GB, free: 144.5 MB / 494.2 MB Notification: Performance of collectPreVariables (initialization): time 0.0005957/1.155, allocations: 101.3 kB / 0.6917 GB, free: 144.4 MB / 494.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.002197/1.157, allocations: 4.337 MB / 0.6959 GB, free: 141.7 MB / 494.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.001382/1.159, allocations: 1.593 MB / 0.6975 GB, free: 140.5 MB / 494.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001617/1.16, allocations: 1.195 MB / 0.6986 GB, free: 139.9 MB / 494.2 MB Notification: Performance of setup shared object (initialization): time 5.8e-05/1.16, allocations: 301.1 kB / 0.6989 GB, free: 139.6 MB / 494.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004177/1.164, allocations: 3.065 MB / 0.7019 GB, free: 138 MB / 494.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004761/1.169, allocations: 5.241 MB / 0.707 GB, free: 132.1 MB / 494.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008902/1.178, allocations: 8.876 MB / 0.7157 GB, free: 122.3 MB / 494.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.344e-05/1.178, allocations: 23.94 kB / 0.7157 GB, free: 122.3 MB / 494.2 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01495/1.193, allocations: 9.818 MB / 0.7253 GB, free: 112.4 MB / 494.2 MB Notification: Performance of prepare postOptimizeDAE: time 6.282e-05/1.193, allocations: 36 kB / 0.7253 GB, free: 112.4 MB / 494.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001203/1.193, allocations: 68 kB / 0.7254 GB, free: 112.3 MB / 494.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003525/1.197, allocations: 1.371 MB / 0.7267 GB, free: 110.9 MB / 494.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005285/1.202, allocations: 1.404 MB / 0.7281 GB, free: 109.5 MB / 494.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0146/1.217, allocations: 12.04 MB / 0.7399 GB, free: 97.31 MB / 494.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004746/1.221, allocations: 351.5 kB / 0.7402 GB, free: 96.96 MB / 494.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007882/1.222, allocations: 304 kB / 0.7405 GB, free: 96.67 MB / 494.2 MB 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 (720): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,45.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005687/1.228, allocations: 3.884 MB / 0.7443 GB, free: 92.77 MB / 494.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001069/1.229, allocations: 465 kB / 0.7447 GB, free: 92.31 MB / 494.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01208/1.241, allocations: 8.432 MB / 0.753 GB, free: 83.83 MB / 494.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008894/1.25, allocations: 6.205 MB / 0.759 GB, free: 77.61 MB / 494.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.018e-05/1.25, allocations: 15.98 kB / 0.759 GB, free: 77.59 MB / 494.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.172e-05/1.25, allocations: 23.86 kB / 0.7591 GB, free: 77.57 MB / 494.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0244/1.274, allocations: 14.96 MB / 0.7737 GB, free: 62.55 MB / 494.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.978e-05/1.274, allocations: 8 kB / 0.7737 GB, free: 62.55 MB / 494.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003221/1.278, allocations: 0.8113 MB / 0.7745 GB, free: 61.73 MB / 494.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003567/1.281, allocations: 1.261 MB / 0.7757 GB, free: 60.46 MB / 494.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006554/1.282, allocations: 112 kB / 0.7758 GB, free: 60.36 MB / 494.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01309/1.295, allocations: 10.97 MB / 0.7865 GB, free: 49.2 MB / 494.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/1.295, allocations: 8 kB / 0.7865 GB, free: 49.2 MB / 494.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01651/1.311, allocations: 11.14 MB / 0.7974 GB, free: 37.91 MB / 494.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003041/1.314, allocations: 1.043 MB / 0.7984 GB, free: 36.87 MB / 494.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001035/1.315, allocations: 88 kB / 0.7985 GB, free: 36.78 MB / 494.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002635/1.318, allocations: 227.7 kB / 0.7987 GB, free: 36.56 MB / 494.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007355/1.319, allocations: 351.2 kB / 0.7991 GB, free: 36.21 MB / 494.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002847/1.319, allocations: 140 kB / 0.7992 GB, free: 36.08 MB / 494.2 MB Notification: Performance of sorting global known variables: time 0.003899/1.323, allocations: 2.954 MB / 0.8021 GB, free: 33.14 MB / 494.2 MB Notification: Performance of sort global known variables: time 2.2e-07/1.323, allocations: 0 / 0.8021 GB, free: 33.14 MB / 494.2 MB Notification: Performance of remove unused functions: time 0.006892/1.33, allocations: 1.719 MB / 0.8038 GB, free: 31.43 MB / 494.2 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 4 (imc.inertiaRotor.w,imc.rotorCage.port_p.reference.gamma,loadInertia.phi,PI.x) * 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 (417): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,43.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002137/1.332, allocations: 0.5529 MB / 0.8043 GB, free: 31.04 MB / 494.2 MB Notification: Performance of simCode: created initialization part: time 0.01222/1.344, allocations: 7.655 MB / 0.8118 GB, free: 23.36 MB / 494.2 MB Notification: Performance of simCode: created event and clocks part: time 1.364e-05/1.344, allocations: 128 / 0.8118 GB, free: 23.36 MB / 494.2 MB Notification: Performance of simCode: created simulation system equations: time 0.006158/1.35, allocations: 3.685 MB / 0.8154 GB, free: 19.66 MB / 494.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00485/1.355, allocations: 0.951 MB / 0.8163 GB, free: 18.73 MB / 494.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02772/1.383, allocations: 18.19 MB / 0.8341 GB, free: 408 kB / 494.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008386/1.391, allocations: 6.063 MB / 0.84 GB, free: 10.3 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.005856/1.397, allocations: 2.086 MB / 0.842 GB, free: 8.203 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001345/1.399, allocations: 400.3 kB / 0.8424 GB, free: 7.809 MB / 0.4982 GB Notification: Performance of SimCode: time 9.01e-07/1.399, allocations: 0 / 0.8424 GB, free: 7.809 MB / 0.4982 GB Notification: Performance of Templates: time 0.3117/1.71, allocations: 66.07 MB / 0.9069 GB, free: 123.9 MB / 0.4982 GB " [Timeout remaining time 658] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.makefile [Timeout 660] (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 & ./HanserModelica_HanserModelica.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.373187329620123] Failed to read output from testmodel.py, exit status != 0: 1.7186359614133835 1.728869031 1.309514893 Calling exit ...