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.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.001213/0.001213, allocations: 109 kB / 16.46 MB, free: 6.508 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.446/1.446, allocations: 225.6 MB / 244.8 MB, free: 14.14 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.001592/0.001592, allocations: 188.4 kB / 299.8 MB, free: 9.801 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.04146/0.04146, allocations: 8.929 MB / 363.6 MB, free: 10.14 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_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 0.002342/0.002342, allocations: 83.8 kB / 486.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1153, allocations: 54.4 MB / 0.5278 GB, free: 1.285 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter2): time 0.01638/0.1317, allocations: 13.22 MB / 0.5407 GB, free: 4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009988/0.1416, allocations: 4.341 MB / 0.545 GB, free: 15.64 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002934/0.1446, allocations: 83.69 kB / 0.545 GB, free: 15.56 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004083/0.1487, allocations: 1.076 MB / 0.5461 GB, free: 14.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005973/0.1546, allocations: 1.328 MB / 0.5474 GB, free: 13.14 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003034/0.1577, allocations: 0.863 MB / 0.5482 GB, free: 12.29 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006486/0.1642, allocations: 4.039 MB / 0.5522 GB, free: 8.223 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005335/0.1695, allocations: 2.484 MB / 0.5546 GB, free: 5.672 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00375/0.1732, allocations: 1.94 MB / 0.5565 GB, free: 3.727 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004244/0.1775, allocations: 2.156 MB / 0.5586 GB, free: 1.562 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00165/0.1791, allocations: 0.5273 MB / 0.5591 GB, free: 1.035 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002601/0.1817, allocations: 0.7224 MB / 0.5598 GB, free: 320 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002075/0.1838, allocations: 1.153 MB / 0.561 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004914/0.1887, allocations: 2.178 MB / 0.5631 GB, free: 12.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01118/0.1999, allocations: 6.914 MB / 0.5698 GB, free: 6.031 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1999, allocations: 0 / 0.5698 GB, free: 6.031 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.1999, allocations: 0 / 0.5698 GB, free: 6.031 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002054/0.2001, allocations: 4 kB / 0.5698 GB, free: 6.027 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.01391/0.214, allocations: 4.527 MB / 0.5743 GB, free: 1.426 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.2141, allocations: 12.03 kB / 0.5743 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001026/0.2151, allocations: 0.515 MB / 0.5748 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004547/0.2196, allocations: 0.8339 MB / 0.5756 GB, free: 52 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006588/0.2262, allocations: 2.494 MB / 0.578 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002458/0.2265, allocations: 259 kB / 0.5783 GB, free: 13.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009587/0.2274, allocations: 335.9 kB / 0.5786 GB, free: 12.92 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009559/0.237, allocations: 4.504 MB / 0.583 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-05/0.2371, allocations: 8 kB / 0.583 GB, free: 8.363 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000332/0.2374, allocations: 135.9 kB / 0.5831 GB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001583/0.2376, allocations: 154.7 kB / 0.5833 GB, free: 8.078 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007732/0.2453, allocations: 3.825 MB / 0.587 GB, free: 4.246 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02464/0.2699, allocations: 14.06 MB / 0.6007 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006797/0.2767, allocations: 6.025 MB / 0.6066 GB, free: 14.94 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002026/0.2788, allocations: 1.079 MB / 0.6077 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006192/0.285, allocations: 3.31 MB / 0.6109 GB, free: 10.47 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.164e-05/0.285, allocations: 51.5 kB / 0.611 GB, free: 10.41 MB / 430.1 MB Notification: Performance of pre-optimization done (n=115): time 2.695e-06/0.285, allocations: 0 / 0.611 GB, free: 10.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=118): time 0.011/0.296, allocations: 5.259 MB / 0.6161 GB, free: 4.953 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.2961, allocations: 64.41 kB / 0.6162 GB, free: 4.879 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002787/0.2989, allocations: 1.686 MB / 0.6178 GB, free: 3.188 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001222/0.299, allocations: 49.7 kB / 0.6178 GB, free: 3.133 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001308/0.3003, allocations: 1.532 MB / 0.6193 GB, free: 1.586 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004751/0.3008, allocations: 440.3 kB / 0.6198 GB, free: 1.152 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004735/0.3012, allocations: 287.5 kB / 0.62 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.3014, allocations: 309.1 kB / 0.6203 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001121/0.3025, allocations: 0.6286 MB / 0.6209 GB, free: 15.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0016/0.3041, allocations: 1.127 MB / 0.622 GB, free: 14.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002838/0.307, allocations: 1.869 MB / 0.6239 GB, free: 12.49 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-05/0.307, allocations: 8 kB / 0.6239 GB, free: 12.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004021/0.311, allocations: 2.191 MB / 0.626 GB, free: 10.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.203e-05/0.311, allocations: 14.5 kB / 0.626 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.608e-05/0.311, allocations: 16 kB / 0.626 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000416/0.3115, allocations: 138.4 kB / 0.6262 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001459/0.3129, allocations: 395.6 kB / 0.6266 GB, free: 9.699 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003139/0.3161, allocations: 3.369 MB / 0.6298 GB, free: 6.043 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.3175, allocations: 76.05 kB / 0.6299 GB, free: 5.969 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/0.3176, allocations: 71.98 kB / 0.63 GB, free: 5.898 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.002046/0.3197, allocations: 1.044 MB / 0.631 GB, free: 4.844 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003825/0.3201, allocations: 182.8 kB / 0.6312 GB, free: 4.664 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004032/0.3241, allocations: 2.021 MB / 0.6332 GB, free: 2.578 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.3241, allocations: 15.94 kB / 0.6332 GB, free: 2.562 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-05/0.3241, allocations: 15.98 kB / 0.6332 GB, free: 2.547 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/0.3241, allocations: 7.969 kB / 0.6332 GB, free: 2.539 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008276/0.3324, allocations: 4.771 MB / 0.6379 GB, free: 13.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.3324, allocations: 4 kB / 0.6379 GB, free: 13.63 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007676/0.3332, allocations: 159.8 kB / 0.638 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001226/0.3344, allocations: 452.1 kB / 0.6384 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.494e-05/0.3345, allocations: 31.98 kB / 0.6385 GB, free: 12.99 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01204/0.3466, allocations: 11.06 MB / 0.6493 GB, free: 1.246 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.677e-06/0.3466, allocations: 7.969 kB / 0.6493 GB, free: 1.238 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2889/0.6355, allocations: 2.85 MB / 0.6521 GB, free: 106.9 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001357/0.6368, allocations: 401.6 kB / 0.6524 GB, free: 106.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002672/0.6371, allocations: 29.83 kB / 0.6525 GB, free: 106.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008359/0.6379, allocations: 63 kB / 0.6525 GB, free: 106.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003154/0.6382, allocations: 103.8 kB / 0.6526 GB, free: 106.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.821e-05/0.6383, allocations: 33.88 kB / 0.6527 GB, free: 106.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001858/0.6402, allocations: 1.153 MB / 0.6538 GB, free: 106.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6402, allocations: 4.156 kB / 0.6538 GB, free: 106.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002277/0.6425, allocations: 0.5446 MB / 0.6543 GB, free: 106.7 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.005034/0.6475, allocations: 3.47 MB / 0.6577 GB, free: 104.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002918/0.6504, allocations: 1.78 MB / 0.6595 GB, free: 104 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.6504, allocations: 0 / 0.6595 GB, free: 104 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001937/0.6524, allocations: 1.443 MB / 0.6609 GB, free: 103.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002312/0.6547, allocations: 0.5278 MB / 0.6614 GB, free: 102.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02715/0.6818, allocations: 18.97 MB / 0.6799 GB, free: 90.53 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001754/0.6836, allocations: 2.364 MB / 0.6822 GB, free: 88.47 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001366/0.6849, allocations: 388.1 kB / 0.6826 GB, free: 88.09 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00117/0.6861, allocations: 1.144 MB / 0.6837 GB, free: 86.94 MB / 462.1 MB Notification: Performance of SimCode: time 2.124e-06/0.6861, allocations: 0 / 0.6837 GB, free: 86.94 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1345/0.8206, allocations: 51.46 MB / 0.7339 GB, free: 35.93 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/13.94, allocations: 0 / 0.7339 GB, free: 35.93 MB / 462.1 MB " [Timeout remaining time 646] (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: 20.820988451130688] Failed to read output from testmodel.py, exit status != 0: 14.263361597433686 14.07852053 13.874701602 Calling exit ...