Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.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.001099/0.001099, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.89/0.89, allocations: 177.1 MB / 199.4 MB, free: 5.922 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.001204/0.001204, allocations: 156.6 kB / 256 MB, free: 13.33 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.02215/0.02215, allocations: 6.66 MB / 319 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: "" <> buildModelFMU(HanserModelica.InductionMachines.IMC_Inverter2,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_Inverter2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.InductionMachines.IMC_Inverter2,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_Inverter2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 3.938 kB / 445.4 MB, free: 37.61 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.472e-05/1.655e-05, allocations: 6.219 kB / 445.4 MB, free: 37.6 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter2): time 0.007929/0.007945, allocations: 12.07 MB / 457.5 MB, free: 25.47 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005855/0.0138, allocations: 4.369 MB / 461.9 MB, free: 21.09 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001234/0.01503, allocations: 111.3 kB / 462 MB, free: 20.98 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001538/0.01657, allocations: 1.056 MB / 463 MB, free: 19.91 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001825/0.0184, allocations: 1.331 MB / 464.4 MB, free: 18.57 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.01941, allocations: 0.8877 MB / 465.3 MB, free: 17.69 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001893/0.0213, allocations: 4.279 MB / 469.5 MB, free: 13.39 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001343/0.02264, allocations: 1.902 MB / 471.4 MB, free: 11.42 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00166/0.0243, allocations: 2.916 MB / 474.3 MB, free: 8.5 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001123/0.02542, allocations: 1.804 MB / 476.2 MB, free: 6.691 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003065/0.02573, allocations: 0.5234 MB / 476.7 MB, free: 6.168 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007165/0.02645, allocations: 0.734 MB / 477.4 MB, free: 5.434 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004099/0.02686, allocations: 1.18 MB / 478.6 MB, free: 4.25 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007311/0.02759, allocations: 1.477 MB / 480.1 MB, free: 2.77 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003881/0.03147, allocations: 7 MB / 487.1 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.03147, allocations: 3.984 kB / 487.1 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.03148, allocations: 0 / 487.1 MB, free: 11.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.278e-05/0.03152, allocations: 0 / 487.1 MB, free: 11.75 MB / 346.7 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.0064/0.03792, allocations: 4.448 MB / 491.5 MB, free: 7.242 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.03797, allocations: 8.031 kB / 491.5 MB, free: 7.234 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005649/0.03853, allocations: 0.5189 MB / 492 MB, free: 6.703 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002082/0.04061, allocations: 0.826 MB / 492.9 MB, free: 5.875 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002585/0.0432, allocations: 2.422 MB / 495.3 MB, free: 3.402 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.04332, allocations: 251.1 kB / 495.5 MB, free: 3.156 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003196/0.04364, allocations: 340.3 kB / 495.9 MB, free: 2.824 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004662/0.0483, allocations: 4.662 MB / 0.4888 GB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.565e-05/0.04834, allocations: 0 / 0.4888 GB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002097/0.04855, allocations: 143.8 kB / 0.4889 GB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.936e-05/0.04865, allocations: 166.7 kB / 0.4891 GB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004025/0.05268, allocations: 3.805 MB / 0.4928 GB, free: 9.965 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01201/0.06469, allocations: 12.59 MB / 0.5051 GB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002933/0.06762, allocations: 2.401 MB / 0.5075 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001203/0.06883, allocations: 1.1 MB / 0.5085 GB, free: 9.582 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003306/0.07213, allocations: 2.824 MB / 0.5113 GB, free: 6.738 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.07216, allocations: 43.56 kB / 0.5113 GB, free: 6.684 MB / 378.7 MB Notification: Performance of pre-optimization done (n=115): time 2.485e-06/0.07216, allocations: 0 / 0.5113 GB, free: 6.684 MB / 378.7 MB Notification: Performance of matching and sorting (n=118): time 0.006527/0.07869, allocations: 4.672 MB / 0.5159 GB, free: 1.965 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.07874, allocations: 68.41 kB / 0.516 GB, free: 1.887 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/0.08053, allocations: 1.73 MB / 0.5176 GB, free: 156 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.394e-05/0.08059, allocations: 45.7 kB / 0.5177 GB, free: 104 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008391/0.08143, allocations: 1.547 MB / 0.5192 GB, free: 14.54 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004035/0.08183, allocations: 432.3 kB / 0.5196 GB, free: 14.11 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002967/0.08213, allocations: 287.5 kB / 0.5199 GB, free: 13.83 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.689e-05/0.08221, allocations: 301.1 kB / 0.5202 GB, free: 13.53 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006844/0.0829, allocations: 0.6246 MB / 0.5208 GB, free: 12.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.0839, allocations: 1.16 MB / 0.5219 GB, free: 11.51 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001985/0.08588, allocations: 1.876 MB / 0.5238 GB, free: 9.41 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.08589, allocations: 8 kB / 0.5238 GB, free: 9.402 MB / 394.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.002095/0.08799, allocations: 2.127 MB / 0.5258 GB, free: 7.258 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.974e-05/0.08802, allocations: 18.75 kB / 0.5259 GB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.08803, allocations: 16.38 kB / 0.5259 GB, free: 7.227 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002537/0.08829, allocations: 138.5 kB / 0.526 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007566/0.08904, allocations: 391.4 kB / 0.5264 GB, free: 6.699 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001695/0.09074, allocations: 3.158 MB / 0.5295 GB, free: 3.316 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006516/0.09139, allocations: 80.08 kB / 0.5295 GB, free: 3.238 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.768e-05/0.09147, allocations: 71.98 kB / 0.5296 GB, free: 3.168 MB / 394.7 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.001202/0.09267, allocations: 1.044 MB / 0.5306 GB, free: 2.113 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.09282, allocations: 190.8 kB / 0.5308 GB, free: 1.926 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002101/0.09492, allocations: 1.884 MB / 0.5326 GB, free: 12 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.721e-05/0.09497, allocations: 16.05 kB / 0.5327 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.09498, allocations: 8 kB / 0.5327 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.09499, allocations: 3.938 kB / 0.5327 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004547/0.09953, allocations: 4.343 MB / 0.5369 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.09954, allocations: 3.938 kB / 0.5369 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003755/0.09991, allocations: 175.9 kB / 0.5371 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006485/0.1006, allocations: 442.5 kB / 0.5375 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.033e-05/0.1006, allocations: 39.97 kB / 0.5375 GB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006808/0.1074, allocations: 10.44 MB / 0.5477 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.1074, allocations: 4.031 kB / 0.5477 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002636/0.1101, allocations: 2.716 MB / 0.5504 GB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004563/0.1105, allocations: 338.6 kB / 0.5507 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.1107, allocations: 31.98 kB / 0.5507 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004044/0.1111, allocations: 63.94 kB / 0.5508 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/0.1112, allocations: 96.8 kB / 0.5509 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.4e-05/0.1113, allocations: 35.98 kB / 0.5509 GB, free: 12.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001102/0.1124, allocations: 1.167 MB / 0.5521 GB, free: 11.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1124, allocations: 0 / 0.5521 GB, free: 11.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001473/0.1138, allocations: 0.5508 MB / 0.5526 GB, free: 10.86 MB / 426.7 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.002933/0.1168, allocations: 3.315 MB / 0.5558 GB, free: 7.473 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001755/0.1185, allocations: 1.702 MB / 0.5575 GB, free: 5.746 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1185, allocations: 0 / 0.5575 GB, free: 5.746 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001268/0.1198, allocations: 1.441 MB / 0.5589 GB, free: 4.238 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/0.1214, allocations: 0.5386 MB / 0.5594 GB, free: 3.707 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1755/0.2969, allocations: 18.8 MB / 0.5778 GB, free: 114.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001431/0.2983, allocations: 1.828 MB / 0.5796 GB, free: 113.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008062/0.2991, allocations: 387.3 kB / 0.58 GB, free: 112.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007977/0.2999, allocations: 1.152 MB / 0.5811 GB, free: 111.9 MB / 426.7 MB Notification: Performance of SimCode: time 1.874e-06/0.2999, allocations: 0 / 0.5811 GB, free: 111.9 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06462/0.3645, allocations: 55.06 MB / 0.6348 GB, free: 57.52 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.106/8.47, allocations: 4.062 kB / 0.6349 GB, free: 57.52 MB / 426.7 MB " [Timeout remaining time 651] (rm -f HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe ; mkfifo HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe >> ../files/HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_InductionMachines_IMC_Inverter2_fmu --startTime=0 --stopTime=3.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-08 HanserModelica_HanserModelica_InductionMachines_IMC_Inverter2.fmu > HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.970917684026062] Failed to read output from testmodel.py, exit status != 0: 8.578889000229537 8.586813307 8.553911803 Calling exit ...