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.001508/0.001508, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.589/1.589, allocations: 230.6 MB / 252.6 MB, free: 8.332 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.001707/0.001707, allocations: 211.9 kB / 309.2 MB, free: 3.168 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.04112/0.04112, allocations: 8.919 MB / 374.6 MB, free: 1.922 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_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: 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.002493/0.002493, allocations: 95.64 kB / 0.4892 GB, free: 4.562 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1353, allocations: 55.61 MB / 0.5435 GB, free: 5.047 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter2): time 0.01916/0.1545, allocations: 13.89 MB / 0.5571 GB, free: 7.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01214/0.1666, allocations: 4.633 MB / 0.5616 GB, free: 2.441 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003622/0.1703, allocations: 111.3 kB / 0.5617 GB, free: 2.332 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004103/0.1744, allocations: 1.095 MB / 0.5628 GB, free: 1.23 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007403/0.1818, allocations: 1.317 MB / 0.5641 GB, free: 15.9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003529/0.1853, allocations: 0.9287 MB / 0.565 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007323/0.1926, allocations: 4.086 MB / 0.569 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003414/0.196, allocations: 1.969 MB / 0.5709 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004106/0.2001, allocations: 1.994 MB / 0.5729 GB, free: 6.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004499/0.2046, allocations: 2.281 MB / 0.5751 GB, free: 4.551 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001161/0.2058, allocations: 0.5234 MB / 0.5756 GB, free: 4.027 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002113/0.2079, allocations: 0.7536 MB / 0.5763 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001166/0.2091, allocations: 1.157 MB / 0.5775 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003163/0.2122, allocations: 2.178 MB / 0.5796 GB, free: 15.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009985/0.2222, allocations: 6.957 MB / 0.5864 GB, free: 8.945 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.2222, allocations: 0 / 0.5864 GB, free: 8.945 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.2222, allocations: 0 / 0.5864 GB, free: 8.945 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000168/0.2224, allocations: 0 / 0.5864 GB, free: 8.945 MB / 398.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.0132/0.2356, allocations: 4.497 MB / 0.5908 GB, free: 4.395 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/0.2357, allocations: 12.03 kB / 0.5908 GB, free: 4.383 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009035/0.2366, allocations: 0.515 MB / 0.5913 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004182/0.2407, allocations: 0.8183 MB / 0.5921 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005672/0.2464, allocations: 2.45 MB / 0.5945 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002347/0.2467, allocations: 246.8 kB / 0.5947 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007625/0.2474, allocations: 336 kB / 0.595 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01175/0.2592, allocations: 4.519 MB / 0.5995 GB, free: 11.4 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001282/0.2593, allocations: 0 / 0.5995 GB, free: 11.4 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007461/0.26, allocations: 140 kB / 0.5996 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002104/0.2603, allocations: 162.7 kB / 0.5997 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009833/0.2701, allocations: 3.817 MB / 0.6035 GB, free: 7.281 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03169/0.3018, allocations: 13.83 MB / 0.617 GB, free: 9.055 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005445/0.3072, allocations: 2.407 MB / 0.6193 GB, free: 6.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002225/0.3094, allocations: 1.112 MB / 0.6204 GB, free: 5.645 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007024/0.3165, allocations: 3.128 MB / 0.6235 GB, free: 2.492 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.338e-05/0.3165, allocations: 43.56 kB / 0.6235 GB, free: 2.438 MB / 430.1 MB Notification: Performance of pre-optimization done (n=115): time 3.397e-06/0.3165, allocations: 4 kB / 0.6235 GB, free: 2.434 MB / 430.1 MB Notification: Performance of matching and sorting (n=118): time 0.0118/0.3283, allocations: 4.676 MB / 0.6281 GB, free: 13.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/0.3284, allocations: 64.41 kB / 0.6281 GB, free: 13.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004021/0.3324, allocations: 1.707 MB / 0.6298 GB, free: 11.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002306/0.3326, allocations: 49.7 kB / 0.6299 GB, free: 11.87 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001757/0.3344, allocations: 1.54 MB / 0.6314 GB, free: 10.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007339/0.3351, allocations: 444.3 kB / 0.6318 GB, free: 9.879 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007474/0.3359, allocations: 287.5 kB / 0.6321 GB, free: 9.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.336, allocations: 305.1 kB / 0.6323 GB, free: 9.289 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001416/0.3375, allocations: 0.6246 MB / 0.633 GB, free: 8.664 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001705/0.3392, allocations: 1.135 MB / 0.6341 GB, free: 7.305 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003077/0.3422, allocations: 1.876 MB / 0.6359 GB, free: 5.203 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.045e-05/0.3423, allocations: 4 kB / 0.6359 GB, free: 5.199 MB / 446.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00418/0.3464, allocations: 2.127 MB / 0.638 GB, free: 3.055 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/0.3465, allocations: 12 kB / 0.638 GB, free: 3.043 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.468e-05/0.3465, allocations: 16 kB / 0.638 GB, free: 3.027 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004506/0.347, allocations: 142.9 kB / 0.6381 GB, free: 2.879 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/0.3485, allocations: 395.3 kB / 0.6385 GB, free: 2.492 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003231/0.3518, allocations: 3.173 MB / 0.6416 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/0.3533, allocations: 80 kB / 0.6417 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000179/0.3534, allocations: 68 kB / 0.6418 GB, free: 14.94 MB / 462.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.002343/0.3558, allocations: 1.044 MB / 0.6428 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005999/0.3564, allocations: 194.8 kB / 0.643 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004204/0.3606, allocations: 1.88 MB / 0.6448 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.718e-05/0.3606, allocations: 15.94 kB / 0.6448 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.038e-05/0.3606, allocations: 4 kB / 0.6448 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/0.3606, allocations: 7.969 kB / 0.6448 GB, free: 11.76 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009678/0.3703, allocations: 4.616 MB / 0.6493 GB, free: 7.055 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.3703, allocations: 4.062 kB / 0.6493 GB, free: 7.051 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007824/0.3711, allocations: 176 kB / 0.6495 GB, free: 6.879 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001272/0.3724, allocations: 435.9 kB / 0.6499 GB, free: 6.438 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/0.3725, allocations: 39.97 kB / 0.65 GB, free: 6.398 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2569/0.6294, allocations: 10.54 MB / 0.6602 GB, free: 94.43 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.6294, allocations: 2.25 kB / 0.6602 GB, free: 94.43 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004832/0.6342, allocations: 2.723 MB / 0.6629 GB, free: 94.05 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009782/0.6352, allocations: 332.2 kB / 0.6632 GB, free: 93.95 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002218/0.6354, allocations: 27.7 kB / 0.6633 GB, free: 93.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008503/0.6363, allocations: 62.22 kB / 0.6633 GB, free: 93.92 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004568/0.6367, allocations: 104 kB / 0.6634 GB, free: 93.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/0.6368, allocations: 36.39 kB / 0.6634 GB, free: 93.89 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002742/0.6396, allocations: 1.166 MB / 0.6646 GB, free: 93.43 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6396, allocations: 3.062 kB / 0.6646 GB, free: 93.43 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002441/0.642, allocations: 0.546 MB / 0.6651 GB, free: 93.39 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,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.004706/0.6467, allocations: 3.33 MB / 0.6684 GB, free: 91.67 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002788/0.6495, allocations: 1.699 MB / 0.67 GB, free: 90.91 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.6495, allocations: 1.438 kB / 0.67 GB, free: 90.91 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001917/0.6514, allocations: 1.431 MB / 0.6714 GB, free: 90 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002318/0.6538, allocations: 0.55 MB / 0.672 GB, free: 89.84 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02604/0.6798, allocations: 18.89 MB / 0.6904 GB, free: 78.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001768/0.6816, allocations: 2.372 MB / 0.6927 GB, free: 76.16 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001309/0.6829, allocations: 388.1 kB / 0.6931 GB, free: 75.78 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001096/0.684, allocations: 1.151 MB / 0.6942 GB, free: 74.62 MB / 462.1 MB Notification: Performance of SimCode: time 1.823e-06/0.684, allocations: 0 / 0.6942 GB, free: 74.62 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1074/0.7914, allocations: 53.14 MB / 0.7461 GB, free: 21.94 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.08/15.88, allocations: 10.59 kB / 0.7461 GB, free: 21.93 MB / 462.1 MB " [Timeout remaining time 644] (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: 22.060792160918936] Failed to read output from testmodel.py, exit status != 0: 16.020695288898423 16.037653581 15.811548629 Calling exit ...