Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.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.00131/0.00131, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.427/1.427, allocations: 230.6 MB / 252.7 MB, free: 14.26 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.001578/0.001578, allocations: 222.5 kB / 309.2 MB, free: 3.07 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.04058/0.04058, allocations: 8.926 MB / 374.6 MB, free: 6.562 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: "" <> buildModelFMU(HanserModelica.InductionMachines.IMC_Inverter1,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_Inverter1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.InductionMachines.IMC_Inverter1,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_Inverter1",fmuType="me",version="2.0",platforms={"static"}) [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.002578/0.002578, allocations: 79.88 kB / 0.4891 GB, free: 44.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0846/0.08717, allocations: 55.61 MB / 0.5434 GB, free: 5.031 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter1): time 0.01639/0.1036, allocations: 12.04 MB / 0.5552 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00879/0.1124, allocations: 4.369 MB / 0.5595 GB, free: 4.543 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001884/0.1142, allocations: 111.3 kB / 0.5596 GB, free: 4.434 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00275/0.117, allocations: 1.037 MB / 0.5606 GB, free: 3.391 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00371/0.1207, allocations: 1.292 MB / 0.5619 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002116/0.1228, allocations: 0.884 MB / 0.5627 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2078/0.3306, allocations: 4.075 MB / 0.5667 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002338/0.3329, allocations: 1.888 MB / 0.5685 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002913/0.3358, allocations: 2 MB / 0.5705 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00349/0.3393, allocations: 2.146 MB / 0.5726 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001066/0.3404, allocations: 0.5227 MB / 0.5731 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001886/0.3423, allocations: 0.7304 MB / 0.5738 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008982/0.3432, allocations: 1.147 MB / 0.5749 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002472/0.3456, allocations: 1.732 MB / 0.5766 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008204/0.3538, allocations: 6.969 MB / 0.5834 GB, free: 6.746 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.3538, allocations: 3.234 kB / 0.5834 GB, free: 6.746 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3538, allocations: 2 kB / 0.5834 GB, free: 6.746 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002137/0.3541, allocations: 0 / 0.5834 GB, free: 6.746 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 880 * Number of variables: 880 Notification: Performance of Generate backend data structure: time 0.01133/0.3654, allocations: 4.483 MB / 0.5878 GB, free: 4.379 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.3654, allocations: 13.39 kB / 0.5878 GB, free: 4.375 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007902/0.3662, allocations: 0.5169 MB / 0.5883 GB, free: 4.098 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004142/0.3704, allocations: 0.826 MB / 0.5891 GB, free: 3.816 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00491/0.3753, allocations: 2.42 MB / 0.5915 GB, free: 2.199 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001821/0.3755, allocations: 252.9 kB / 0.5917 GB, free: 2.086 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006692/0.3761, allocations: 343.1 kB / 0.5921 GB, free: 1.969 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009719/0.3858, allocations: 4.667 MB / 0.5966 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-05/0.3859, allocations: 5.141 kB / 0.5966 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003755/0.3863, allocations: 136.9 kB / 0.5968 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002513/0.3866, allocations: 160.6 kB / 0.5969 GB, free: 14.99 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008339/0.3949, allocations: 3.81 MB / 0.6006 GB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0252/0.4201, allocations: 12.6 MB / 0.6129 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005052/0.4251, allocations: 2.401 MB / 0.6153 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00199/0.4271, allocations: 1.094 MB / 0.6163 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00612/0.4333, allocations: 2.831 MB / 0.6191 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.739e-05/0.4333, allocations: 47.56 kB / 0.6192 GB, free: 13.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=115): time 3.957e-06/0.4333, allocations: 0 / 0.6192 GB, free: 13.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=118): time 0.01101/0.4443, allocations: 4.678 MB / 0.6237 GB, free: 8.516 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.4444, allocations: 68.41 kB / 0.6238 GB, free: 8.434 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002859/0.4472, allocations: 1.73 MB / 0.6255 GB, free: 6.699 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001383/0.4474, allocations: 45.7 kB / 0.6255 GB, free: 6.648 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001251/0.4486, allocations: 1.546 MB / 0.627 GB, free: 5.094 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004174/0.449, allocations: 441.5 kB / 0.6275 GB, free: 4.668 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004836/0.4495, allocations: 287.5 kB / 0.6277 GB, free: 4.379 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.4496, allocations: 301.1 kB / 0.628 GB, free: 4.082 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/0.4508, allocations: 0.6286 MB / 0.6286 GB, free: 3.453 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001516/0.4523, allocations: 1.163 MB / 0.6298 GB, free: 2.066 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0027/0.455, allocations: 1.87 MB / 0.6316 GB, free: 44 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.211e-05/0.455, allocations: 11.94 kB / 0.6316 GB, free: 32 kB / 414.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003771/0.4588, allocations: 2.124 MB / 0.6337 GB, free: 13.99 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.922e-05/0.4588, allocations: 12 kB / 0.6337 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.476e-05/0.4588, allocations: 16.38 kB / 0.6337 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000402/0.4592, allocations: 138.5 kB / 0.6338 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/0.4607, allocations: 393.8 kB / 0.6342 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00291/0.4636, allocations: 3.156 MB / 0.6373 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.465, allocations: 76.14 kB / 0.6374 GB, free: 10.03 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/0.4651, allocations: 71.98 kB / 0.6374 GB, free: 9.957 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (196): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(1,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001885/0.467, allocations: 1.045 MB / 0.6385 GB, free: 8.926 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003409/0.4673, allocations: 194.7 kB / 0.6386 GB, free: 8.734 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003813/0.4712, allocations: 1.876 MB / 0.6405 GB, free: 6.852 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.4712, allocations: 16 kB / 0.6405 GB, free: 6.836 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/0.4712, allocations: 7.938 kB / 0.6405 GB, free: 6.828 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.4712, allocations: 3.984 kB / 0.6405 GB, free: 6.824 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008276/0.4795, allocations: 4.355 MB / 0.6448 GB, free: 2.441 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.4795, allocations: 0 / 0.6448 GB, free: 2.441 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007486/0.4802, allocations: 167.1 kB / 0.6449 GB, free: 2.289 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001254/0.4815, allocations: 452.1 kB / 0.6453 GB, free: 1.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.529e-05/0.4816, allocations: 31.98 kB / 0.6454 GB, free: 1.809 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01105/0.4926, allocations: 10.44 MB / 0.6556 GB, free: 6.879 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.4926, allocations: 11.34 kB / 0.6556 GB, free: 6.871 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005034/0.4977, allocations: 2.725 MB / 0.6582 GB, free: 4.129 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001081/0.4987, allocations: 330.6 kB / 0.6586 GB, free: 3.805 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002651/0.499, allocations: 32 kB / 0.6586 GB, free: 3.773 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008324/0.4998, allocations: 55.95 kB / 0.6586 GB, free: 3.719 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000252/0.5001, allocations: 104.3 kB / 0.6587 GB, free: 3.617 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.444e-05/0.5002, allocations: 35.98 kB / 0.6588 GB, free: 3.582 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001822/0.502, allocations: 1.171 MB / 0.6599 GB, free: 2.418 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.502, allocations: 0 / 0.6599 GB, free: 2.418 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001986/0.504, allocations: 0.5469 MB / 0.6605 GB, free: 1.871 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,loadInertia.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 (81): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,5,100.0%), (1,1,100.0%), (1,13,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.005188/0.5092, allocations: 3.331 MB / 0.6637 GB, free: 14.51 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003028/0.5122, allocations: 1.704 MB / 0.6654 GB, free: 12.83 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.5122, allocations: 0 / 0.6654 GB, free: 12.83 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002322/0.5145, allocations: 1.428 MB / 0.6668 GB, free: 11.36 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002479/0.517, allocations: 0.5333 MB / 0.6673 GB, free: 10.84 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03242/0.5494, allocations: 18.89 MB / 0.6857 GB, free: 7.363 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002763/0.5522, allocations: 1.816 MB / 0.6875 GB, free: 5.508 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001511/0.5537, allocations: 400.1 kB / 0.6879 GB, free: 5.113 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001916/0.5556, allocations: 1.155 MB / 0.689 GB, free: 3.957 MB / 478.1 MB Notification: Performance of SimCode: time 8.42e-07/0.5556, allocations: 0 / 0.689 GB, free: 3.957 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1166/0.6722, allocations: 55.12 MB / 0.7428 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/13.56, allocations: 8 kB / 0.7429 GB, free: 13.33 MB / 0.5294 GB " [Timeout remaining time 646] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_InductionMachines_IMC_Inverter1_fmu --startTime=0 --stopTime=2 --stepSize=0.0001 --timeout=50 --tolerance=1e-08 HanserModelica_HanserModelica_InductionMachines_IMC_Inverter1.fmu > HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.009340652730316] Failed to read output from testmodel.py, exit status != 0: 13.698164582252502 13.72448402 13.366205771 Calling exit ...