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.0008267/0.0008267, allocations: 76.5 kB / 19.93 MB, free: 4.621 MB / 18.57 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 0.8626/0.8626, allocations: 177.2 MB / 200.2 MB, free: 5.93 MB / 186.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.001075/0.001075, allocations: 160.1 kB / 256.7 MB, free: 13.34 MB / 250.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.02214/0.02214, allocations: 6.661 MB / 319.8 MB, free: 26.76 MB / 266.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_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: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 446.7 MB, free: 37.11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.75e-05/1.941e-05, allocations: 4.812 kB / 446.7 MB, free: 37.11 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Characteristics1): time 0.01225/0.01227, allocations: 23.29 MB / 470 MB, free: 13.71 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01006/0.02233, allocations: 7.86 MB / 477.8 MB, free: 5.824 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002127/0.02446, allocations: 238.8 kB / 478 MB, free: 5.59 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007772/0.03223, allocations: 9.208 MB / 487.3 MB, free: 12.36 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005518/0.03775, allocations: 3.446 MB / 490.7 MB, free: 8.898 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002393/0.04014, allocations: 1.817 MB / 492.5 MB, free: 7.086 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.009099/0.04924, allocations: 12.78 MB / 0.4935 GB, free: 10.27 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01628/0.06552, allocations: 15.88 MB / 0.509 GB, free: 10.2 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01075/0.07627, allocations: 9.72 MB / 0.5184 GB, free: 476 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007108/0.08338, allocations: 6.284 MB / 0.5246 GB, free: 10.17 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002475/0.08586, allocations: 1.836 MB / 0.5264 GB, free: 8.332 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00302/0.08888, allocations: 2.23 MB / 0.5286 GB, free: 6.102 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002005/0.09088, allocations: 3.67 MB / 0.5321 GB, free: 2.422 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004646/0.09553, allocations: 4.636 MB / 0.5367 GB, free: 13.78 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2018/0.2974, allocations: 25.11 MB / 0.5612 GB, free: 47.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2974, allocations: 0 / 0.5612 GB, free: 47.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2974, allocations: 0 / 0.5612 GB, free: 47.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006881/0.298, allocations: 0 / 0.5612 GB, free: 47.53 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: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.03232/0.3304, allocations: 14.56 MB / 0.5754 GB, free: 41.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.3304, allocations: 12 kB / 0.5754 GB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02344/0.3538, allocations: 8.446 MB / 0.5837 GB, free: 38.47 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0127/0.3665, allocations: 7.809 MB / 0.5913 GB, free: 34.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000383/0.3669, allocations: 0.8053 MB / 0.5921 GB, free: 34.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002514/0.3694, allocations: 1.064 MB / 0.5931 GB, free: 34.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02513/0.3946, allocations: 18.55 MB / 0.6112 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001677/0.3947, allocations: 23.91 kB / 0.6112 GB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000911/0.3956, allocations: 444.8 kB / 0.6117 GB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003443/0.396, allocations: 0.6711 MB / 0.6123 GB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02141/0.4174, allocations: 17.48 MB / 0.6294 GB, free: 13.36 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05969/0.4771, allocations: 50.34 MB / 0.6786 GB, free: 10.95 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01294/0.49, allocations: 12.67 MB / 0.6909 GB, free: 332 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003465/0.4935, allocations: 3.74 MB / 0.6946 GB, free: 12.56 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000251/0.4937, allocations: 124 kB / 0.6947 GB, free: 12.44 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.304e-05/0.4938, allocations: 86.62 kB / 0.6948 GB, free: 12.34 MB / 490.7 MB Notification: Performance of pre-optimization done (n=518): time 7.113e-06/0.4938, allocations: 0 / 0.6948 GB, free: 12.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=524): time 0.029/0.5228, allocations: 21.28 MB / 0.7156 GB, free: 6.93 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.228e-05/0.5229, allocations: 103.5 kB / 0.7157 GB, free: 6.812 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004297/0.5272, allocations: 4.008 MB / 0.7196 GB, free: 2.816 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002746/0.5274, allocations: 105.7 kB / 0.7197 GB, free: 2.707 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001863/0.5293, allocations: 4.684 MB / 0.7242 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001215/0.5305, allocations: 1.841 MB / 0.726 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001332/0.5319, allocations: 1.355 MB / 0.7274 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.326e-05/0.5319, allocations: 305.1 kB / 0.7277 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003202/0.5351, allocations: 3.431 MB / 0.731 GB, free: 7.098 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004432/0.5395, allocations: 5.895 MB / 0.7368 GB, free: 140 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1633/0.7028, allocations: 10.02 MB / 0.7466 GB, free: 174.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.046e-05/0.7029, allocations: 22.69 kB / 0.7466 GB, free: 174.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.0105/0.7134, allocations: 10.88 MB / 0.7572 GB, free: 170.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.012e-05/0.7134, allocations: 35 kB / 0.7572 GB, free: 170.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.378e-05/0.7134, allocations: 81.55 kB / 0.7573 GB, free: 170.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001851/0.7153, allocations: 1.362 MB / 0.7586 GB, free: 170.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002644/0.7179, allocations: 1.624 MB / 0.7602 GB, free: 170.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008517/0.7265, allocations: 10.92 MB / 0.7709 GB, free: 162.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002279/0.7287, allocations: 399.3 kB / 0.7713 GB, free: 162.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003072/0.729, allocations: 340.8 kB / 0.7716 GB, free: 162.2 MB / 0.5105 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.004084/0.7331, allocations: 4.17 MB / 0.7757 GB, free: 158.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005151/0.7336, allocations: 481.3 kB / 0.7761 GB, free: 158.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007627/0.7413, allocations: 8.38 MB / 0.7843 GB, free: 151.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005888/0.7472, allocations: 7.034 MB / 0.7912 GB, free: 145.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.7472, allocations: 12 kB / 0.7912 GB, free: 145.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.542e-05/0.7472, allocations: 27 kB / 0.7912 GB, free: 145.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01509/0.7623, allocations: 16.12 MB / 0.807 GB, free: 130.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.7623, allocations: 0 / 0.807 GB, free: 130.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001777/0.7641, allocations: 0.9481 MB / 0.8079 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001638/0.7657, allocations: 1.222 MB / 0.8091 GB, free: 128.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001947/0.7659, allocations: 112 kB / 0.8092 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007151/0.7731, allocations: 9.644 MB / 0.8186 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.7731, allocations: 5.25 kB / 0.8186 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009829/0.7829, allocations: 12.21 MB / 0.8305 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001515/0.7844, allocations: 1.094 MB / 0.8316 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003492/0.7848, allocations: 96 kB / 0.8317 GB, free: 105 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/0.7859, allocations: 269 kB / 0.832 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003926/0.7863, allocations: 372.3 kB / 0.8323 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000194/0.7865, allocations: 155.9 kB / 0.8325 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002123/0.7886, allocations: 2.579 MB / 0.835 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.01e-07/0.7886, allocations: 0 / 0.835 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003767/0.7924, allocations: 1.922 MB / 0.8368 GB, free: 99.78 MB / 0.5105 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.0004511/0.7928, allocations: 298.6 kB / 0.8371 GB, free: 99.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007104/0.7999, allocations: 8.35 MB / 0.8453 GB, free: 91.09 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.7999, allocations: 0 / 0.8453 GB, free: 91.09 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003167/0.8031, allocations: 3.868 MB / 0.8491 GB, free: 87.21 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002327/0.8054, allocations: 1.01 MB / 0.8501 GB, free: 86.23 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01697/0.8224, allocations: 19.12 MB / 0.8687 GB, free: 67.02 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003494/0.8259, allocations: 6.371 MB / 0.8749 GB, free: 60.59 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001297/0.8272, allocations: 492.3 kB / 0.8754 GB, free: 60.11 MB / 0.5105 GB Notification: Performance of SimCode: time 1.042e-06/0.8272, allocations: 5.203 kB / 0.8754 GB, free: 60.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.2533/1.081, allocations: 186.1 MB / 1.057 GB, free: 77.17 MB / 0.5105 GB " [Timeout remaining time 659] 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: 12.224661934189498] Failed to read output from testmodel.py, exit status != 0: 1.085910301655531 1.094717869 0.795058057 Calling exit ...