Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001954/0.001954, allocations: 117.8 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002283/0.002283, allocations: 216.9 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 230.2 MB / 254.5 MB, free: 15.39 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 67.89 kB / 373.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1211, allocations: 53.32 MB / 426.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.3231/0.4442, allocations: 21.64 MB / 448.3 MB, free: 8.531 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01311/0.4574, allocations: 6.809 MB / 455.2 MB, free: 8.441 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003986/0.4613, allocations: 147.6 kB / 455.3 MB, free: 8.441 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01521/0.4766, allocations: 6.905 MB / 462.2 MB, free: 6.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008965/0.4855, allocations: 2.791 MB / 465 MB, free: 5.527 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004388/0.4899, allocations: 1.583 MB / 466.6 MB, free: 4.758 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0115/0.5014, allocations: 9.078 MB / 475.7 MB, free: 408 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02414/0.5255, allocations: 13.32 MB / 489 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008868/0.5344, allocations: 4.661 MB / 493.6 MB, free: 8.562 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01013/0.5445, allocations: 5.216 MB / 498.9 MB, free: 4.145 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004088/0.5486, allocations: 1.359 MB / 0.4885 GB, free: 2.785 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007084/0.5557, allocations: 1.695 MB / 0.4902 GB, free: 1.098 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004324/0.56, allocations: 2.624 MB / 0.4927 GB, free: 14.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0101/0.5701, allocations: 4.956 MB / 0.4976 GB, free: 9.586 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02559/0.5957, allocations: 18.27 MB / 0.5154 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.5957, allocations: 0 / 0.5154 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.5957, allocations: 0 / 0.5154 GB, free: 7.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005016/0.5962, allocations: 0 / 0.5154 GB, free: 7.34 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2107 * Number of variables: 2107 Notification: Performance of Generate backend data structure: time 0.03646/0.6327, allocations: 10.74 MB / 0.5259 GB, free: 12.5 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.6327, allocations: 8.031 kB / 0.5259 GB, free: 12.49 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003198/0.6359, allocations: 1.09 MB / 0.527 GB, free: 11.39 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0355/0.6714, allocations: 5.899 MB / 0.5327 GB, free: 5.48 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01515/0.6866, allocations: 5.739 MB / 0.5383 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005711/0.6872, allocations: 0.554 MB / 0.5389 GB, free: 15.13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003492/0.6907, allocations: 0.7342 MB / 0.5396 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03272/0.7234, allocations: 12.89 MB / 0.5522 GB, free: 1.441 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003344/0.7237, allocations: 15.88 kB / 0.5522 GB, free: 1.426 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002378/0.7261, allocations: 312 kB / 0.5525 GB, free: 1.121 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006984/0.7268, allocations: 0.4922 MB / 0.553 GB, free: 0.625 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02871/0.7555, allocations: 12.62 MB / 0.5653 GB, free: 3.977 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07911/0.8346, allocations: 41.53 MB / 0.6058 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02528/0.8599, allocations: 25.87 MB / 0.6311 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005427/0.8653, allocations: 2.93 MB / 0.634 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004463/0.8658, allocations: 273.3 kB / 0.6342 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.796e-05/0.8658, allocations: 69.78 kB / 0.6343 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=410): time 6.041e-06/0.8659, allocations: 0 / 0.6343 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of matching and sorting (n=415): time 0.2306/1.096, allocations: 17.09 MB / 0.651 GB, free: 162.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/1.097, allocations: 95.72 kB / 0.6511 GB, free: 162.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004259/1.101, allocations: 2.842 MB / 0.6538 GB, free: 161.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004921/1.101, allocations: 91.98 kB / 0.6539 GB, free: 161.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001867/1.103, allocations: 3.147 MB / 0.657 GB, free: 159.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001232/1.104, allocations: 1.468 MB / 0.6584 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001335/1.106, allocations: 0.9496 MB / 0.6594 GB, free: 158.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.665e-05/1.106, allocations: 303 kB / 0.6597 GB, free: 157.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003574/1.109, allocations: 2.51 MB / 0.6621 GB, free: 156.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004182/1.113, allocations: 4.112 MB / 0.6661 GB, free: 153.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008191/1.122, allocations: 7.21 MB / 0.6732 GB, free: 149.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-05/1.122, allocations: 16.66 kB / 0.6732 GB, free: 149.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01222/1.134, allocations: 8.028 MB / 0.681 GB, free: 146.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.686e-05/1.134, allocations: 24.38 kB / 0.681 GB, free: 146.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.688e-05/1.134, allocations: 55.56 kB / 0.6811 GB, free: 146.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002873/1.137, allocations: 1.229 MB / 0.6823 GB, free: 145.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003636/1.141, allocations: 1.145 MB / 0.6834 GB, free: 145.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01267/1.153, allocations: 11.23 MB / 0.6944 GB, free: 139 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003918/1.157, allocations: 269.5 kB / 0.6946 GB, free: 138.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009093/1.158, allocations: 238.4 kB / 0.6949 GB, free: 138.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * 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 (590): * Single equations (assignments): 588 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004526/1.163, allocations: 2.953 MB / 0.6978 GB, free: 137.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008547/1.163, allocations: 369.3 kB / 0.6981 GB, free: 137.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009606/1.173, allocations: 6.667 MB / 0.7046 GB, free: 134.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.121e-05/1.173, allocations: 39.78 kB / 0.7047 GB, free: 134.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-05/1.173, allocations: 10.53 kB / 0.7047 GB, free: 134.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.194e-05/1.173, allocations: 26.95 kB / 0.7047 GB, free: 134.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02017/1.193, allocations: 14.86 MB / 0.7192 GB, free: 121.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.489e-05/1.193, allocations: 8.547 kB / 0.7192 GB, free: 121.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002645/1.196, allocations: 0.7489 MB / 0.7199 GB, free: 120.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002663/1.199, allocations: 1.122 MB / 0.721 GB, free: 119.3 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002916/1.199, allocations: 107.9 kB / 0.7211 GB, free: 119.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01071/1.21, allocations: 10.16 MB / 0.7311 GB, free: 108.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/1.21, allocations: 11.94 kB / 0.7311 GB, free: 108.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01277/1.222, allocations: 10.02 MB / 0.7409 GB, free: 98.59 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002272/1.225, allocations: 0.9436 MB / 0.7418 GB, free: 97.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005237/1.225, allocations: 87.92 kB / 0.7419 GB, free: 97.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001845/1.227, allocations: 199.8 kB / 0.7421 GB, free: 97.35 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005729/1.228, allocations: 307.8 kB / 0.7424 GB, free: 97.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002233/1.228, allocations: 128 kB / 0.7425 GB, free: 96.92 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002334/1.23, allocations: 1.955 MB / 0.7444 GB, free: 94.96 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/1.23, allocations: 0 / 0.7444 GB, free: 94.96 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004308/1.234, allocations: 1.394 MB / 0.7457 GB, free: 93.57 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 3 (aimc.inertiaRotor.w,voltageSource.plug_p.reference.gamma,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 (398): * Single equations (assignments): 396 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01249/1.247, allocations: 10.74 MB / 0.7562 GB, free: 82.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009136/1.256, allocations: 6.485 MB / 0.7626 GB, free: 76.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/1.256, allocations: 0 / 0.7626 GB, free: 76.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004871/1.261, allocations: 3.316 MB / 0.7658 GB, free: 72.86 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003673/1.265, allocations: 0.8458 MB / 0.7666 GB, free: 72.06 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06381/1.328, allocations: 47.09 MB / 0.8126 GB, free: 22.97 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00395/1.332, allocations: 5.084 MB / 0.8176 GB, free: 17.84 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003639/1.336, allocations: 1.61 MB / 0.8192 GB, free: 16.22 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00288/1.339, allocations: 2.687 MB / 0.8218 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of SimCode: time 9.21e-07/1.339, allocations: 0 / 0.8218 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3665/1.705, allocations: 111.8 MB / 0.9309 GB, free: 119 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.72/19.43, allocations: 3.781 kB / 0.9309 GB, free: 119 MB / 0.545 GB " [Timeout remaining time 640] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 25.219531072769314] Failed to read output from testmodel.py, exit status != 0: 19.572456606198102 19.586499335 18.987461036 Calling exit ...