Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMS_Start.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.0009555/0.0009555, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001541/0.002496, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.033/1.033, allocations: 177.2 MB / 188.4 MB, free: 4.406 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2114/1.244, allocations: 53.66 MB / 242 MB, free: 2.602 MB / 234.7 MB " [Timeout remaining time 179] 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.0009027/0.0009027, allocations: 156.2 kB / 242.9 MB, free: 1.723 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001249/0.002152, allocations: 479.6 kB / 243.4 MB, free: 1.27 MB / 234.7 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.02398/0.02398, allocations: 6.657 MB / 250.8 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005163/0.02915, allocations: 2.664 MB / 253.5 MB, free: 7.402 MB / 250.7 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_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Start") translateModel(HanserModelica.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 254.8 MB, free: 6.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.641e-05/1.823e-05, allocations: 2.312 kB / 254.8 MB, free: 6.086 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Start): time 0.03283/0.03285, allocations: 43.49 MB / 298.3 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03058/0.06343, allocations: 12.78 MB / 311 MB, free: 13.58 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01111/0.07454, allocations: 433.6 kB / 311.5 MB, free: 13.16 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.2049/0.2794, allocations: 13.14 MB / 324.6 MB, free: 5.875 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02083/0.3002, allocations: 5.049 MB / 329.7 MB, free: 5.703 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009695/0.3099, allocations: 3.039 MB / 332.7 MB, free: 5.691 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.02762/0.3375, allocations: 22.14 MB / 354.8 MB, free: 15.64 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04855/0.3861, allocations: 27.08 MB / 381.9 MB, free: 13.1 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03815/0.4242, allocations: 17.4 MB / 399.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02222/0.4465, allocations: 11.97 MB / 411.3 MB, free: 1.074 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.009628/0.4561, allocations: 3.109 MB / 414.4 MB, free: 13.96 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01529/0.4714, allocations: 3.569 MB / 418 MB, free: 10.46 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008211/0.4796, allocations: 5.177 MB / 423.1 MB, free: 5.293 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.02043/0.5, allocations: 6.771 MB / 429.9 MB, free: 14.51 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03083/0.5309, allocations: 18.72 MB / 448.6 MB, free: 12.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.83e-05/0.5309, allocations: 0 / 448.6 MB, free: 12.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.776e-06/0.5309, allocations: 0 / 448.6 MB, free: 12.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.001206/0.5321, allocations: 3.984 kB / 448.6 MB, free: 12.55 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5030 * Number of variables: 5030 Notification: Performance of Generate backend data structure: time 0.0545/0.5866, allocations: 26.91 MB / 475.6 MB, free: 2.773 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.5866, allocations: 8.031 kB / 475.6 MB, free: 2.766 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2348/0.8214, allocations: 11.28 MB / 486.8 MB, free: 92.46 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02236/0.8437, allocations: 7.007 MB / 493.8 MB, free: 91.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001537/0.8453, allocations: 1.361 MB / 495.2 MB, free: 91.37 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007944/0.8532, allocations: 1.804 MB / 497 MB, free: 91.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05203/0.9053, allocations: 14.97 MB / 0.5 GB, free: 89.84 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009624/0.9062, allocations: 25.34 kB / 0.5 GB, free: 89.83 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005957/0.9122, allocations: 0.7434 MB / 0.5007 GB, free: 89.83 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001157/0.9133, allocations: 0.9518 MB / 0.5017 GB, free: 89.79 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03001/0.9433, allocations: 7.312 MB / 0.5088 GB, free: 89.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1124/1.056, allocations: 57.01 MB / 0.5645 GB, free: 35.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01548/1.071, allocations: 10.5 MB / 0.5747 GB, free: 24.73 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005554/1.077, allocations: 2.546 MB / 0.5772 GB, free: 22.26 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007336/1.077, allocations: 250.9 kB / 0.5775 GB, free: 22.02 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.913e-05/1.078, allocations: 125.7 kB / 0.5776 GB, free: 21.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=878): time 1.412e-05/1.078, allocations: 0 / 0.5776 GB, free: 21.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=886): time 0.05522/1.133, allocations: 21.33 MB / 0.5984 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.997e-05/1.133, allocations: 180 kB / 0.5986 GB, free: 0.5234 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006232/1.139, allocations: 4.532 MB / 0.603 GB, free: 12.93 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001919/1.141, allocations: 169.7 kB / 0.6032 GB, free: 12.75 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003675/1.145, allocations: 6.867 MB / 0.6099 GB, free: 6.125 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003896/1.149, allocations: 3.082 MB / 0.6129 GB, free: 3.219 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003117/1.152, allocations: 1.914 MB / 0.6148 GB, free: 1.52 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.324e-05/1.152, allocations: 305.1 kB / 0.615 GB, free: 1.219 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002327/1.154, allocations: 1.458 MB / 0.6165 GB, free: 15.75 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003576/1.158, allocations: 4.608 MB / 0.621 GB, free: 9.965 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009358/1.167, allocations: 7.503 MB / 0.6283 GB, free: 1.59 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001432/1.167, allocations: 28 kB / 0.6283 GB, free: 1.562 MB / 458.7 MB Notification: Performance of matching and sorting (n=1406) (initialization): time 0.2187/1.386, allocations: 7.174 MB / 0.6353 GB, free: 97.11 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.401e-05/1.386, allocations: 49.81 kB / 0.6354 GB, free: 97.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001848/1.386, allocations: 107.4 kB / 0.6355 GB, free: 97.11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005379/1.392, allocations: 1.802 MB / 0.6372 GB, free: 97 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008486/1.4, allocations: 2.946 MB / 0.6401 GB, free: 96.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01387/1.414, allocations: 17.24 MB / 0.657 GB, free: 87.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00756/1.421, allocations: 367 kB / 0.6573 GB, free: 87.07 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00297/1.424, allocations: 391.2 kB / 0.6577 GB, free: 87.07 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 485 * Number of states: 0 () * Number of discrete variables: 12 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,rheostatQS.booleanStep[3].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[1].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1260): * Single equations (assignments): 1250 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (18,100,41.7%), (1,5,100.0%), (1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009825/1.434, allocations: 0.8089 MB / 0.6585 GB, free: 86.95 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00249/1.437, allocations: 0.7549 MB / 0.6592 GB, free: 86.94 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01251/1.449, allocations: 5.852 MB / 0.6649 GB, free: 86.38 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006225/1.455, allocations: 2.894 MB / 0.6677 GB, free: 86.11 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001295/1.456, allocations: 28.38 kB / 0.6678 GB, free: 86.11 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000219/1.456, allocations: 45.28 kB / 0.6678 GB, free: 86.11 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04245/1.498, allocations: 14.13 MB / 0.6816 GB, free: 84.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.034e-05/1.498, allocations: 4.719 kB / 0.6816 GB, free: 84.82 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006264/1.505, allocations: 1.863 MB / 0.6834 GB, free: 84.79 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006066/1.511, allocations: 1.061 MB / 0.6845 GB, free: 84.78 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004935/1.516, allocations: 1.804 MB / 0.6862 GB, free: 84.59 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002021/1.518, allocations: 176.6 kB / 0.6864 GB, free: 84.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01598/1.534, allocations: 21.7 MB / 0.7076 GB, free: 68.73 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.985e-05/1.534, allocations: 9.625 kB / 0.7076 GB, free: 68.73 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0134/1.547, allocations: 7.369 MB / 0.7148 GB, free: 63.6 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001925/1.549, allocations: 160 kB / 0.715 GB, free: 63.44 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003222/1.552, allocations: 243.8 kB / 0.7152 GB, free: 63.22 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001291/1.553, allocations: 0.6329 MB / 0.7158 GB, free: 62.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004434/1.554, allocations: 177.8 kB / 0.716 GB, free: 62.76 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003095/1.557, allocations: 2.184 MB / 0.7181 GB, free: 61.26 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.81e-07/1.557, allocations: 0 / 0.7181 GB, free: 61.26 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01263/1.57, allocations: 3.233 MB / 0.7213 GB, free: 58.04 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 11 (imsQS.inertiaRotor.w,imsQS.rotor.stray.port_p.reference.gamma,quadraticLoadTorqueQS.phi,ims.inertiaRotor.w,ims.stator.zeroInductor.i0,ims.stator.core.Phi.re,ims.stator.core.Phi.im,ims.rotor.zeroInductor.i0,ims.rotor.core.Phi.re,ims.rotor.core.Phi.im,quadraticLoadTorque.phi) * Number of discrete variables: 12 (rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (761): * Single equations (assignments): 749 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,1,100.0%), (18,100,38.3%), (1,1,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,5,100.0%), (1,8,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00206/1.572, allocations: 396.7 kB / 0.7216 GB, free: 57.74 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01178/1.583, allocations: 7.007 MB / 0.7285 GB, free: 51.76 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0004433/1.584, allocations: 158.1 kB / 0.7286 GB, free: 51.59 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007496/1.591, allocations: 5.57 MB / 0.7341 GB, free: 46.28 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01394/1.605, allocations: 17.83 MB / 0.7515 GB, free: 25.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1162/1.722, allocations: 28.47 MB / 0.7793 GB, free: 12.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008774/1.73, allocations: 3.733 MB / 0.7829 GB, free: 8.934 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005479/1.736, allocations: 1.278 MB / 0.7842 GB, free: 7.648 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004617/1.74, allocations: 1.893 MB / 0.786 GB, free: 5.73 MB / 474.7 MB Notification: Performance of SimCode: time 2.434e-06/1.74, allocations: 0 / 0.786 GB, free: 5.73 MB / 474.7 MB Notification: Performance of Templates: time 0.4043/2.145, allocations: 150 MB / 0.9325 GB, free: 43.15 MB / 490.7 MB " [Timeout remaining time 658] make -j1 -f HanserModelica_HanserModelica.InductionMachines.IMS_Start.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMS_Start.sim & ./HanserModelica_HanserModelica.InductionMachines.IMS_Start -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.InductionMachines.IMS_Start.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.06921838503331]