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.0007729/0.0007729, 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.8765/0.8765, allocations: 177.2 MB / 199.4 MB, free: 5.914 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.001168/0.001168, allocations: 163.4 kB / 256 MB, free: 13.32 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.022/0.022, allocations: 6.659 MB / 319 MB, free: 26.75 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_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 1.844e-06/1.844e-06, allocations: 0 / 445.4 MB, free: 37.62 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.702e-05/1.887e-05, allocations: 2.281 kB / 445.4 MB, free: 37.62 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter1): time 0.008237/0.008256, allocations: 12.06 MB / 457.5 MB, free: 25.5 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.007667/0.01592, allocations: 4.373 MB / 461.8 MB, free: 21.11 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002337/0.01826, allocations: 107.3 kB / 461.9 MB, free: 21 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002594/0.02085, allocations: 1.052 MB / 463 MB, free: 19.95 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003383/0.02424, allocations: 1.327 MB / 464.3 MB, free: 18.61 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001587/0.02582, allocations: 0.895 MB / 465.2 MB, free: 17.71 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003185/0.02901, allocations: 4.279 MB / 469.5 MB, free: 13.42 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001975/0.03098, allocations: 1.906 MB / 471.4 MB, free: 11.45 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003239/0.03422, allocations: 2.913 MB / 474.3 MB, free: 8.527 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002136/0.03636, allocations: 1.8 MB / 476.1 MB, free: 6.723 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007847/0.03714, allocations: 0.5234 MB / 476.6 MB, free: 6.199 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/0.0383, allocations: 0.734 MB / 477.4 MB, free: 5.465 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004555/0.03876, allocations: 1.18 MB / 478.6 MB, free: 4.281 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001456/0.04021, allocations: 1.473 MB / 480 MB, free: 2.805 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004683/0.04489, allocations: 7.004 MB / 487 MB, free: 11.78 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.0449, allocations: 0 / 487 MB, free: 11.78 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.0449, allocations: 0 / 487 MB, free: 11.78 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001671/0.04507, allocations: 0 / 487 MB, free: 11.78 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.008599/0.05367, allocations: 4.44 MB / 491.5 MB, free: 7.285 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.05371, allocations: 12.03 kB / 491.5 MB, free: 7.273 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006077/0.05432, allocations: 0.5189 MB / 492 MB, free: 6.742 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002215/0.05654, allocations: 0.826 MB / 492.8 MB, free: 5.914 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003425/0.05996, allocations: 2.426 MB / 495.3 MB, free: 3.438 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000149/0.06011, allocations: 255.1 kB / 495.5 MB, free: 3.188 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004722/0.06058, allocations: 328.3 kB / 495.8 MB, free: 2.867 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006043/0.06663, allocations: 4.678 MB / 0.4888 GB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.55e-05/0.06668, allocations: 4 kB / 0.4888 GB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000219/0.0669, allocations: 139.9 kB / 0.4889 GB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001083/0.06701, allocations: 150.7 kB / 0.4891 GB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005065/0.07207, allocations: 3.809 MB / 0.4928 GB, free: 10 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01492/0.08699, allocations: 12.6 MB / 0.5051 GB, free: 13.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003105/0.0901, allocations: 2.402 MB / 0.5074 GB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001312/0.09141, allocations: 1.104 MB / 0.5085 GB, free: 9.613 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003799/0.09521, allocations: 2.828 MB / 0.5113 GB, free: 6.766 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.09524, allocations: 43.56 kB / 0.5113 GB, free: 6.711 MB / 378.7 MB Notification: Performance of pre-optimization done (n=115): time 2.846e-06/0.09524, allocations: 0 / 0.5113 GB, free: 6.711 MB / 378.7 MB Notification: Performance of matching and sorting (n=118): time 0.006807/0.102, allocations: 4.664 MB / 0.5159 GB, free: 2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.1021, allocations: 64.41 kB / 0.5159 GB, free: 1.926 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001918/0.104, allocations: 1.734 MB / 0.5176 GB, free: 192 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.411e-05/0.1041, allocations: 49.7 kB / 0.5177 GB, free: 136 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007531/0.1048, allocations: 1.543 MB / 0.5192 GB, free: 14.57 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002472/0.1051, allocations: 432.3 kB / 0.5196 GB, free: 14.15 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002892/0.1054, allocations: 291.5 kB / 0.5199 GB, free: 13.86 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.185e-05/0.1054, allocations: 301.1 kB / 0.5201 GB, free: 13.56 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007085/0.1061, allocations: 0.6208 MB / 0.5208 GB, free: 12.94 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009379/0.1071, allocations: 1.164 MB / 0.5219 GB, free: 11.54 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001875/0.1089, allocations: 1.872 MB / 0.5237 GB, free: 9.445 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.109, allocations: 8 kB / 0.5237 GB, free: 9.438 MB / 394.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.002399/0.1114, allocations: 2.131 MB / 0.5258 GB, free: 7.289 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.1114, allocations: 15.94 kB / 0.5258 GB, free: 7.273 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.243e-05/0.1114, allocations: 16 kB / 0.5258 GB, free: 7.258 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002615/0.1117, allocations: 134.9 kB / 0.526 GB, free: 7.117 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007684/0.1124, allocations: 395.4 kB / 0.5263 GB, free: 6.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002034/0.1145, allocations: 3.158 MB / 0.5294 GB, free: 3.348 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007855/0.1153, allocations: 80.06 kB / 0.5295 GB, free: 3.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.062e-05/0.1153, allocations: 68 kB / 0.5296 GB, free: 3.203 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.001334/0.1167, allocations: 1.047 MB / 0.5306 GB, free: 2.148 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002269/0.1169, allocations: 190.8 kB / 0.5308 GB, free: 1.961 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002243/0.1191, allocations: 1.88 MB / 0.5326 GB, free: 52 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.1191, allocations: 16 kB / 0.5326 GB, free: 36 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.1192, allocations: 7.984 kB / 0.5326 GB, free: 28 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.1192, allocations: 7.969 kB / 0.5326 GB, free: 20 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005473/0.1246, allocations: 4.343 MB / 0.5369 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.1246, allocations: 3.938 kB / 0.5369 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003946/0.125, allocations: 167.9 kB / 0.537 GB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006689/0.1257, allocations: 451.6 kB / 0.5375 GB, free: 10.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.195e-05/0.1258, allocations: 35.98 kB / 0.5375 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006805/0.1326, allocations: 10.43 MB / 0.5477 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1326, allocations: 4.031 kB / 0.5477 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003422/0.136, allocations: 2.727 MB / 0.5504 GB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006986/0.1367, allocations: 326.6 kB / 0.5507 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001781/0.1369, allocations: 35.94 kB / 0.5507 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004608/0.1374, allocations: 59.94 kB / 0.5508 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000218/0.1376, allocations: 100.8 kB / 0.5509 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.963e-05/0.1376, allocations: 35.98 kB / 0.5509 GB, free: 12.61 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001334/0.139, allocations: 1.167 MB / 0.552 GB, free: 11.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.139, allocations: 0 / 0.552 GB, free: 11.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001505/0.1405, allocations: 0.5469 MB / 0.5526 GB, free: 10.9 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.003474/0.1439, allocations: 3.323 MB / 0.5558 GB, free: 7.508 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002023/0.146, allocations: 1.706 MB / 0.5575 GB, free: 5.777 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.146, allocations: 0 / 0.5575 GB, free: 5.777 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001309/0.1473, allocations: 1.437 MB / 0.5589 GB, free: 4.273 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/0.1487, allocations: 0.5505 MB / 0.5594 GB, free: 3.734 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1836/0.3323, allocations: 18.78 MB / 0.5778 GB, free: 111 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/0.3335, allocations: 1.817 MB / 0.5795 GB, free: 109.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008049/0.3343, allocations: 391.5 kB / 0.5799 GB, free: 109.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007376/0.335, allocations: 1.152 MB / 0.581 GB, free: 108.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.683e-06/0.335, allocations: 0 / 0.581 GB, free: 108.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06827/0.4033, allocations: 55.06 MB / 0.6348 GB, free: 53.69 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.099/8.502, allocations: 7.922 kB / 0.6348 GB, free: 53.68 MB / 426.7 MB " [Timeout remaining time 651] (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: 11.316811978816986] Failed to read output from testmodel.py, exit status != 0: 8.60933910496533 8.61669328 8.570287068 Calling exit ...