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.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.001273/0.001273, allocations: 107.5 kB / 16.45 MB, free: 6.035 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.398/1.398, allocations: 225.6 MB / 244.8 MB, free: 14.16 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.001866/0.001866, allocations: 197.2 kB / 299.8 MB, free: 9.816 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.0423/0.0423, allocations: 8.933 MB / 363.6 MB, free: 10.16 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: "" <> 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: Performance of FrontEnd - loaded program: time 0.002451/0.002451, allocations: 87.39 kB / 486.1 MB, free: 11.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1263, allocations: 54.41 MB / 0.5278 GB, free: 1.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter1): time 0.01976/0.1461, allocations: 13.2 MB / 0.5407 GB, free: 4.082 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01042/0.1565, allocations: 4.349 MB / 0.5449 GB, free: 15.72 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00284/0.1593, allocations: 83.69 kB / 0.545 GB, free: 15.64 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003565/0.1629, allocations: 1.072 MB / 0.5461 GB, free: 14.56 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004811/0.1677, allocations: 1.332 MB / 0.5474 GB, free: 13.22 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002543/0.1702, allocations: 0.8514 MB / 0.5482 GB, free: 12.37 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006483/0.1767, allocations: 4.047 MB / 0.5521 GB, free: 8.301 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003734/0.1805, allocations: 2.488 MB / 0.5546 GB, free: 5.746 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003287/0.1837, allocations: 1.939 MB / 0.5565 GB, free: 3.801 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00397/0.1877, allocations: 2.152 MB / 0.5586 GB, free: 1.641 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001038/0.1888, allocations: 0.5234 MB / 0.5591 GB, free: 1.117 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001852/0.1906, allocations: 0.7263 MB / 0.5598 GB, free: 400 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001256/0.1919, allocations: 1.157 MB / 0.5609 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003364/0.1952, allocations: 2.175 MB / 0.563 GB, free: 13.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009294/0.2045, allocations: 6.91 MB / 0.5698 GB, free: 6.113 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.2045, allocations: 0 / 0.5698 GB, free: 6.113 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2045, allocations: 0 / 0.5698 GB, free: 6.113 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001869/0.2047, allocations: 0 / 0.5698 GB, free: 6.113 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.01425/0.219, allocations: 4.535 MB / 0.5742 GB, free: 1.504 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/0.219, allocations: 8.031 kB / 0.5742 GB, free: 1.496 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001082/0.2201, allocations: 0.515 MB / 0.5747 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004624/0.2247, allocations: 0.8417 MB / 0.5756 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006815/0.2315, allocations: 2.49 MB / 0.578 GB, free: 13.58 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004275/0.232, allocations: 251.1 kB / 0.5782 GB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001914/0.2339, allocations: 343.8 kB / 0.5786 GB, free: 13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01456/0.2484, allocations: 4.508 MB / 0.583 GB, free: 8.445 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001716/0.2486, allocations: 0 / 0.583 GB, free: 8.445 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001088/0.2497, allocations: 136 kB / 0.5831 GB, free: 8.312 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002473/0.25, allocations: 158.7 kB / 0.5832 GB, free: 8.156 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0101/0.26, allocations: 3.813 MB / 0.587 GB, free: 4.336 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03204/0.2921, allocations: 14.06 MB / 0.6007 GB, free: 5.863 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007987/0.3001, allocations: 6.028 MB / 0.6066 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002475/0.3026, allocations: 1.075 MB / 0.6076 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007915/0.3105, allocations: 3.318 MB / 0.6109 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.847e-05/0.3106, allocations: 47.5 kB / 0.6109 GB, free: 10.49 MB / 430.1 MB Notification: Performance of pre-optimization done (n=115): time 3.787e-06/0.3106, allocations: 0 / 0.6109 GB, free: 10.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=118): time 0.01314/0.3237, allocations: 5.259 MB / 0.6161 GB, free: 5.035 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.43e-05/0.3238, allocations: 68.41 kB / 0.6161 GB, free: 4.957 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003915/0.3277, allocations: 1.682 MB / 0.6178 GB, free: 3.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001969/0.3279, allocations: 45.7 kB / 0.6178 GB, free: 3.219 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001614/0.3295, allocations: 1.539 MB / 0.6193 GB, free: 1.664 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006192/0.3301, allocations: 436.3 kB / 0.6197 GB, free: 1.234 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006473/0.3308, allocations: 287.5 kB / 0.62 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.3309, allocations: 305.1 kB / 0.6203 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001349/0.3323, allocations: 0.6286 MB / 0.6209 GB, free: 16 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001755/0.334, allocations: 1.131 MB / 0.622 GB, free: 14.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003141/0.3372, allocations: 1.865 MB / 0.6238 GB, free: 12.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.926e-05/0.3372, allocations: 4 kB / 0.6238 GB, free: 12.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004449/0.3417, allocations: 2.191 MB / 0.626 GB, free: 10.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.699e-05/0.3417, allocations: 16.03 kB / 0.626 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-05/0.3417, allocations: 16 kB / 0.626 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004575/0.3422, allocations: 142.4 kB / 0.6261 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/0.3438, allocations: 399.3 kB / 0.6265 GB, free: 9.777 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003576/0.3473, allocations: 3.365 MB / 0.6298 GB, free: 6.125 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.3488, allocations: 75.92 kB / 0.6299 GB, free: 6.051 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001856/0.349, allocations: 71.98 kB / 0.6299 GB, free: 5.98 MB / 446.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.002465/0.3514, allocations: 1.044 MB / 0.631 GB, free: 4.926 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006172/0.3521, allocations: 186.8 kB / 0.6311 GB, free: 4.742 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004387/0.3564, allocations: 2.025 MB / 0.6331 GB, free: 2.652 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-05/0.3565, allocations: 15.94 kB / 0.6331 GB, free: 2.637 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.297e-05/0.3565, allocations: 8 kB / 0.6331 GB, free: 2.629 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.577e-05/0.3565, allocations: 7.969 kB / 0.6332 GB, free: 2.621 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01/0.3665, allocations: 4.767 MB / 0.6378 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/0.3665, allocations: 4.031 kB / 0.6378 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007796/0.3673, allocations: 159.8 kB / 0.638 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001391/0.3687, allocations: 443.8 kB / 0.6384 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001381/0.3688, allocations: 35.98 kB / 0.6384 GB, free: 13.08 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01338/0.3822, allocations: 11.07 MB / 0.6492 GB, free: 1.324 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.3822, allocations: 0 / 0.6492 GB, free: 1.324 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2636/0.6458, allocations: 2.855 MB / 0.652 GB, free: 107.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00118/0.6469, allocations: 402.4 kB / 0.6524 GB, free: 107.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002746/0.6472, allocations: 29.16 kB / 0.6524 GB, free: 107.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008916/0.6481, allocations: 61.14 kB / 0.6525 GB, free: 107.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003379/0.6484, allocations: 104.5 kB / 0.6526 GB, free: 107.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.422e-05/0.6485, allocations: 35.86 kB / 0.6526 GB, free: 107.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001944/0.6505, allocations: 1.151 MB / 0.6538 GB, free: 107.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6505, allocations: 0 / 0.6538 GB, free: 107.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002206/0.6527, allocations: 0.5504 MB / 0.6543 GB, free: 107.5 MB / 462.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,8,100.0%), (1,13,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.004709/0.6574, allocations: 3.467 MB / 0.6577 GB, free: 105.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002791/0.6602, allocations: 1.78 MB / 0.6594 GB, free: 104.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.6602, allocations: 0 / 0.6594 GB, free: 104.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001889/0.6621, allocations: 1.439 MB / 0.6608 GB, free: 104 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002221/0.6643, allocations: 0.5345 MB / 0.6613 GB, free: 103.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02404/0.6883, allocations: 18.96 MB / 0.6799 GB, free: 91.49 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001616/0.69, allocations: 2.365 MB / 0.6822 GB, free: 89.47 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001173/0.6911, allocations: 384 kB / 0.6825 GB, free: 89.09 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001089/0.6922, allocations: 1.155 MB / 0.6837 GB, free: 87.93 MB / 462.1 MB Notification: Performance of SimCode: time 1.423e-06/0.6922, allocations: 0 / 0.6837 GB, free: 87.93 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09282/0.785, allocations: 51.45 MB / 0.7339 GB, free: 36.93 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.54/14.32, allocations: 3.984 kB / 0.7339 GB, free: 36.93 MB / 462.1 MB " [Timeout remaining time 645] (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: 19.418357823975384] Failed to read output from testmodel.py, exit status != 0: 14.659213813021779 14.445427194 14.238332413 Calling exit ...