Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.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.001447/0.001447, allocations: 117 kB / 18.49 MB, free: 4.566 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.001456/0.001456, allocations: 216.7 kB / 21.46 MB, free: 1.613 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.471/1.471, allocations: 230.4 MB / 254.7 MB, free: 15.04 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.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 63.91 kB / 373.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.129, allocations: 53.38 MB / 427.1 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.2582/0.3872, allocations: 12.98 MB / 440.1 MB, free: 3.973 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008098/0.3953, allocations: 4.288 MB / 444.3 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002876/0.3982, allocations: 103 kB / 444.4 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003346/0.4015, allocations: 1.024 MB / 445.5 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004701/0.4062, allocations: 1.247 MB / 446.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001984/0.4082, allocations: 0.53 MB / 447.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007915/0.4161, allocations: 4.688 MB / 451.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004577/0.4207, allocations: 2.698 MB / 454.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005318/0.426, allocations: 2.202 MB / 456.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006605/0.4326, allocations: 2.636 MB / 459.5 MB, free: 9.887 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002584/0.4352, allocations: 0.552 MB / 460 MB, free: 9.887 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003087/0.4383, allocations: 0.6608 MB / 460.7 MB, free: 9.852 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002621/0.4409, allocations: 1.546 MB / 462.2 MB, free: 8.988 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005941/0.4468, allocations: 2.494 MB / 464.7 MB, free: 7.223 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01033/0.4572, allocations: 7.489 MB / 472.2 MB, free: 1.676 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.4572, allocations: 1.344 kB / 472.2 MB, free: 1.676 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.4572, allocations: 0 / 472.2 MB, free: 1.676 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002516/0.4574, allocations: 0 / 472.2 MB, free: 1.676 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.0133/0.4707, allocations: 4.832 MB / 477 MB, free: 14.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.4708, allocations: 9.625 kB / 477.1 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001414/0.4709, allocations: 97.89 kB / 477.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001214/0.4721, allocations: 0.5074 MB / 477.7 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002158/0.4743, allocations: 0.5487 MB / 478.2 MB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005492/0.4798, allocations: 2.609 MB / 480.8 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002618/0.4801, allocations: 271 kB / 481.1 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001047/0.4811, allocations: 352 kB / 481.4 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01132/0.4924, allocations: 5.064 MB / 486.5 MB, free: 4.977 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.929e-05/0.4925, allocations: 4 kB / 486.5 MB, free: 4.973 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004558/0.493, allocations: 148.5 kB / 486.6 MB, free: 4.828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002362/0.4932, allocations: 191.1 kB / 486.8 MB, free: 4.641 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008824/0.502, allocations: 4.311 MB / 491.1 MB, free: 332 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03622/0.5382, allocations: 15.11 MB / 0.4944 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006155/0.5444, allocations: 4.051 MB / 0.4983 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003466/0.5479, allocations: 1.873 MB / 0.5002 GB, free: 10.63 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003291/0.5482, allocations: 143 kB / 0.5003 GB, free: 10.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.838e-05/0.5483, allocations: 56.56 kB / 0.5003 GB, free: 10.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 3.988e-06/0.5483, allocations: 0 / 0.5003 GB, free: 10.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02341/0.5717, allocations: 10.01 MB / 0.5101 GB, free: 304 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.797e-05/0.5717, allocations: 73.41 kB / 0.5102 GB, free: 216 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005855/0.5776, allocations: 2.522 MB / 0.5127 GB, free: 13.67 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004967/0.5781, allocations: 65.7 kB / 0.5127 GB, free: 13.6 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001667/0.5798, allocations: 1.67 MB / 0.5143 GB, free: 11.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001134/0.5809, allocations: 0.7591 MB / 0.5151 GB, free: 11.14 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001091/0.582, allocations: 420.4 kB / 0.5155 GB, free: 10.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.5821, allocations: 305.1 kB / 0.5158 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002387/0.5845, allocations: 1.305 MB / 0.5171 GB, free: 9.117 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002681/0.5872, allocations: 1.771 MB / 0.5188 GB, free: 7.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005204/0.5924, allocations: 3.215 MB / 0.5219 GB, free: 3.762 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.931e-05/0.5924, allocations: 7.938 kB / 0.5219 GB, free: 3.754 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008314/0.6008, allocations: 4.061 MB / 0.5259 GB, free: 15.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.583e-05/0.6008, allocations: 12 kB / 0.5259 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.514e-05/0.6008, allocations: 12 kB / 0.5259 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00299/0.6038, allocations: 0.8838 MB / 0.5268 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002436/0.6062, allocations: 0.5266 MB / 0.5273 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01427/0.6205, allocations: 9.486 MB / 0.5366 GB, free: 4.316 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003512/0.624, allocations: 119.9 kB / 0.5367 GB, free: 4.199 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005733/0.6246, allocations: 84 kB / 0.5368 GB, free: 4.117 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 3 systems {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003333/0.6279, allocations: 1.223 MB / 0.538 GB, free: 2.883 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001105/0.629, allocations: 298.1 kB / 0.5382 GB, free: 2.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007633/0.6367, allocations: 3.695 MB / 0.5418 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.065e-05/0.6367, allocations: 20 kB / 0.5419 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.948e-05/0.6367, allocations: 11.94 kB / 0.5419 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.386e-05/0.6367, allocations: 11.95 kB / 0.5419 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01751/0.6542, allocations: 8.006 MB / 0.5497 GB, free: 6.695 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.708e-05/0.6543, allocations: 96 / 0.5497 GB, free: 6.695 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002744/0.657, allocations: 387.8 kB / 0.5501 GB, free: 6.316 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004722/0.6617, allocations: 0.9369 MB / 0.551 GB, free: 5.363 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003768/0.6621, allocations: 51.98 kB / 0.551 GB, free: 5.312 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01782/0.6799, allocations: 11.1 MB / 0.5619 GB, free: 9.652 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.6799, allocations: 7.984 kB / 0.5619 GB, free: 9.645 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009865/0.6898, allocations: 5.506 MB / 0.5673 GB, free: 4.07 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001759/0.6916, allocations: 0.6436 MB / 0.5679 GB, free: 3.406 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007972/0.6924, allocations: 51.98 kB / 0.5679 GB, free: 3.355 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001786/0.6941, allocations: 115.9 kB / 0.5681 GB, free: 3.242 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004997/0.6946, allocations: 181.7 kB / 0.5682 GB, free: 3.062 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001733/0.6948, allocations: 55.98 kB / 0.5683 GB, free: 3.008 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003227/0.698, allocations: 1.743 MB / 0.57 GB, free: 1.254 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.698, allocations: 0 / 0.57 GB, free: 1.254 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003341/0.7014, allocations: 0.8007 MB / 0.5708 GB, free: 464 kB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(3,25,88.9%), (2,12,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01037/0.7118, allocations: 6.196 MB / 0.5768 GB, free: 10.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006866/0.7186, allocations: 3.771 MB / 0.5805 GB, free: 6.332 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.7186, allocations: 3.938 kB / 0.5805 GB, free: 6.328 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004247/0.7229, allocations: 2.39 MB / 0.5828 GB, free: 3.863 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004629/0.7275, allocations: 0.7846 MB / 0.5836 GB, free: 3.09 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06754/0.795, allocations: 29.66 MB / 0.6126 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003829/0.7989, allocations: 2.786 MB / 0.6153 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002312/0.8012, allocations: 0.6829 MB / 0.616 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2018/1.003, allocations: 1.416 MB / 0.6173 GB, free: 165.6 MB / 0.5137 GB Notification: Performance of SimCode: time 1.433e-06/1.003, allocations: 0 / 0.6173 GB, free: 165.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1245/1.127, allocations: 74.41 MB / 0.69 GB, free: 116.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.7/16.83, allocations: 11.55 kB / 0.69 GB, free: 116.7 MB / 0.5137 GB " [Timeout remaining time 643] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.552918325993232] Failed to read output from testmodel.py, exit status != 0: ['time', 'aimc.is[1]', 'aimc.is[2]', 'aimc.idq_rr[1]', 'aimc.idq_rr[2]', 'aimc.idq_sr[1]', 'aimc.idq_sr[2]', 'loadInertia.phi', 'loadInertia.w', 'transformer.l2sigma.inductor[2].i', 'transformer.l2sigma.inductor[3].i'] 17.013032865012065 17.028046691 16.567514416 Calling exit ...