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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001948/0.001948, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 225.6 MB / 246.2 MB, free: 13.57 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 197.2 kB / 301.4 MB, free: 9.066 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04114/0.04114, allocations: 8.924 MB / 365.5 MB, free: 9.195 MB / 302.1 MB " [Timeout remaining time 180] 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: 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 0.002376/0.002376, allocations: 85.22 kB / 489.4 MB, free: 10.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1272, allocations: 54.41 MB / 0.531 GB, free: 14.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_withLosses): time 0.03138/0.1585, allocations: 25.03 MB / 0.5555 GB, free: 5.508 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.021/0.1795, allocations: 8.042 MB / 0.5633 GB, free: 13.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006489/0.186, allocations: 187.4 kB / 0.5635 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02222/0.2082, allocations: 8.459 MB / 0.5718 GB, free: 4.777 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01247/0.2207, allocations: 3.034 MB / 0.5747 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006536/0.2272, allocations: 1.82 MB / 0.5765 GB, free: 15.92 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01975/0.247, allocations: 11.15 MB / 0.5874 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04181/0.2888, allocations: 13.89 MB / 0.601 GB, free: 6.684 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0134/0.3022, allocations: 5.938 MB / 0.6068 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01277/0.315, allocations: 6.514 MB / 0.6131 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006166/0.3211, allocations: 1.719 MB / 0.6148 GB, free: 8.477 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008682/0.3298, allocations: 2.125 MB / 0.6169 GB, free: 6.352 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007254/0.3371, allocations: 3.414 MB / 0.6202 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01554/0.3526, allocations: 6.354 MB / 0.6264 GB, free: 12.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4091/0.7617, allocations: 23.16 MB / 0.649 GB, free: 40.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.7617, allocations: 4.75 kB / 0.649 GB, free: 40.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.7617, allocations: 0 / 0.649 GB, free: 40.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0009273/0.7627, allocations: 3.5 kB / 0.649 GB, free: 40.8 MB / 446.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.06292/0.8256, allocations: 13.62 MB / 0.6624 GB, free: 35.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.8256, allocations: 9.219 kB / 0.6624 GB, free: 35.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03951/0.8652, allocations: 6.313 MB / 0.6685 GB, free: 33.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01955/0.8847, allocations: 7.273 MB / 0.6756 GB, free: 29.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008996/0.8856, allocations: 0.722 MB / 0.6763 GB, free: 29.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00798/0.8936, allocations: 0.9483 MB / 0.6773 GB, free: 29.19 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05517/0.9488, allocations: 16.13 MB / 0.693 GB, free: 16.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004108/0.9492, allocations: 11.95 kB / 0.693 GB, free: 16.72 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006264/0.9554, allocations: 401.8 kB / 0.6934 GB, free: 16.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005485/0.956, allocations: 0.5591 MB / 0.694 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03525/0.9912, allocations: 15.1 MB / 0.7087 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1207/1.112, allocations: 52.12 MB / 0.7596 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02533/1.137, allocations: 19.68 MB / 0.7788 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007073/1.144, allocations: 3.324 MB / 0.7821 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005857/1.145, allocations: 184.2 kB / 0.7822 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.148e-05/1.145, allocations: 82.05 kB / 0.7823 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=447): time 5.751e-06/1.145, allocations: 0 / 0.7823 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of matching and sorting (n=452): time 0.05953/1.205, allocations: 20.71 MB / 0.8025 GB, free: 14.43 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.806e-05/1.205, allocations: 98.52 kB / 0.8026 GB, free: 14.32 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008071/1.213, allocations: 4.505 MB / 0.807 GB, free: 9.793 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001292/1.214, allocations: 97.7 kB / 0.8071 GB, free: 9.691 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004239/1.218, allocations: 4.333 MB / 0.8114 GB, free: 5.348 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.003167/1.221, allocations: 1.612 MB / 0.8129 GB, free: 3.754 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002611/1.224, allocations: 1.2 MB / 0.8141 GB, free: 2.543 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001721/1.224, allocations: 301.1 kB / 0.8144 GB, free: 2.246 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005492/1.23, allocations: 3.061 MB / 0.8174 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00775/1.237, allocations: 5.21 MB / 0.8225 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01573/1.253, allocations: 8.872 MB / 0.8311 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.501e-05/1.253, allocations: 20 kB / 0.8312 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02316/1.276, allocations: 9.841 MB / 0.8408 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.422e-05/1.276, allocations: 36 kB / 0.8408 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001661/1.277, allocations: 70.73 kB / 0.8409 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0043/1.281, allocations: 1.406 MB / 0.8422 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00619/1.287, allocations: 1.383 MB / 0.8436 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02261/1.31, allocations: 12.68 MB / 0.856 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00585/1.316, allocations: 359.7 kB / 0.8563 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00152/1.317, allocations: 288 kB / 0.8566 GB, free: 5.73 MB / 0.5919 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 (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.009838/1.327, allocations: 3.898 MB / 0.8604 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00141/1.328, allocations: 476.9 kB / 0.8609 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3754/1.704, allocations: 8.468 MB / 0.8691 GB, free: 220 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00881/1.713, allocations: 6.21 MB / 0.8752 GB, free: 217.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.276e-05/1.713, allocations: 11.75 kB / 0.8752 GB, free: 217.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.912e-05/1.713, allocations: 21.7 kB / 0.8752 GB, free: 217.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02891/1.742, allocations: 17.38 MB / 0.8922 GB, free: 210.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.771e-05/1.742, allocations: 3.969 kB / 0.8922 GB, free: 210.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003047/1.745, allocations: 0.807 MB / 0.893 GB, free: 210.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003178/1.748, allocations: 1.285 MB / 0.8942 GB, free: 210.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004936/1.748, allocations: 104.7 kB / 0.8943 GB, free: 210.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01321/1.762, allocations: 11.56 MB / 0.9056 GB, free: 200.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-06/1.762, allocations: 11.94 kB / 0.9056 GB, free: 200.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01644/1.778, allocations: 11.17 MB / 0.9166 GB, free: 190.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003686/1.782, allocations: 1.112 MB / 0.9176 GB, free: 190 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00212/1.784, allocations: 91.98 kB / 0.9177 GB, free: 189.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003798/1.788, allocations: 235 kB / 0.918 GB, free: 189.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008764/1.788, allocations: 325.5 kB / 0.9183 GB, free: 189.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003027/1.789, allocations: 142 kB / 0.9184 GB, free: 189.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004402/1.793, allocations: 3.107 MB / 0.9214 GB, free: 186.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/1.793, allocations: 0 / 0.9214 GB, free: 186.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00779/1.801, allocations: 1.726 MB / 0.9231 GB, free: 184.4 MB / 0.5919 GB 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.002323/1.803, allocations: 0.5406 MB / 0.9236 GB, free: 184 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01413/1.817, allocations: 7.665 MB / 0.9311 GB, free: 176.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.611e-05/1.817, allocations: 0 / 0.9311 GB, free: 176.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007961/1.825, allocations: 3.694 MB / 0.9347 GB, free: 172.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007309/1.833, allocations: 1.045 MB / 0.9358 GB, free: 171.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03421/1.867, allocations: 18.41 MB / 0.9537 GB, free: 153.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007724/1.875, allocations: 6.508 MB / 0.9601 GB, free: 146.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005628/1.88, allocations: 2.119 MB / 0.9622 GB, free: 144.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001382/1.882, allocations: 379.8 kB / 0.9625 GB, free: 144.2 MB / 0.5919 GB Notification: Performance of SimCode: time 1.843e-06/1.882, allocations: 0 / 0.9625 GB, free: 144.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.1197/2.001, allocations: 74.91 MB / 1.036 GB, free: 69.68 MB / 0.5919 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.951840739697218]