Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.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.001902/0.001902, allocations: 120.1 kB / 18.49 MB, free: 4.586 MB / 14.72 MB " [Timeout remaining time 180] 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.002366/0.002366, allocations: 215 kB / 21.45 MB, free: 1.641 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.48/1.48, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 47.92 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1381, allocations: 53.32 MB / 427 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.2325/0.3705, allocations: 12.96 MB / 440 MB, free: 4.242 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008053/0.3786, allocations: 4.27 MB / 444.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003104/0.3817, allocations: 102.2 kB / 444.4 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003276/0.385, allocations: 1.024 MB / 445.4 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004785/0.3898, allocations: 1.233 MB / 446.6 MB, free: 304 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001895/0.3917, allocations: 0.5261 MB / 447.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008046/0.3997, allocations: 4.652 MB / 451.8 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004646/0.4043, allocations: 2.697 MB / 454.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005541/0.4099, allocations: 2.172 MB / 456.7 MB, free: 11.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006162/0.4161, allocations: 2.626 MB / 459.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001714/0.4178, allocations: 0.5517 MB / 459.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00244/0.4202, allocations: 0.6571 MB / 460.5 MB, free: 10.2 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001783/0.422, allocations: 1.536 MB / 462 MB, free: 9.34 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004759/0.4267, allocations: 2.489 MB / 464.5 MB, free: 7.617 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01029/0.437, allocations: 7.47 MB / 472 MB, free: 2.082 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.437, allocations: 0 / 472 MB, free: 2.082 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.437, allocations: 2.656 kB / 472 MB, free: 2.082 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002854/0.4373, allocations: 3.938 kB / 472 MB, free: 2.078 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01486/0.4522, allocations: 4.824 MB / 476.8 MB, free: 14.81 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.4522, allocations: 9.375 kB / 476.8 MB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000154/0.4524, allocations: 96.31 kB / 476.9 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001114/0.4535, allocations: 0.4997 MB / 477.4 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002168/0.4557, allocations: 0.5466 MB / 478 MB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006659/0.4623, allocations: 2.612 MB / 480.6 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002829/0.4626, allocations: 271 kB / 480.8 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001007/0.4636, allocations: 351.9 kB / 481.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01044/0.4741, allocations: 5.021 MB / 486.2 MB, free: 5.516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.407e-05/0.4741, allocations: 11.89 kB / 486.2 MB, free: 5.504 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003865/0.4745, allocations: 152 kB / 486.4 MB, free: 5.355 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002267/0.4748, allocations: 180.6 kB / 486.5 MB, free: 5.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008514/0.4833, allocations: 4.298 MB / 490.8 MB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02879/0.5121, allocations: 14.75 MB / 0.4937 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005011/0.5171, allocations: 4.063 MB / 0.4977 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0034/0.5205, allocations: 1.87 MB / 0.4995 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003158/0.5208, allocations: 135.1 kB / 0.4997 GB, free: 11.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.103e-05/0.5209, allocations: 60.5 kB / 0.4997 GB, free: 11.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 3.857e-06/0.5209, allocations: 0 / 0.4997 GB, free: 11.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02211/0.543, allocations: 10 MB / 0.5095 GB, free: 1.293 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.045e-05/0.543, allocations: 77.41 kB / 0.5096 GB, free: 1.203 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004705/0.5477, allocations: 2.522 MB / 0.512 GB, free: 14.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004149/0.5482, allocations: 65.7 kB / 0.5121 GB, free: 14.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00152/0.5497, allocations: 1.654 MB / 0.5137 GB, free: 12.92 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000931/0.5506, allocations: 0.7708 MB / 0.5145 GB, free: 12.14 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007924/0.5514, allocations: 412.5 kB / 0.5149 GB, free: 11.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.5516, allocations: 301.1 kB / 0.5151 GB, free: 11.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002251/0.5538, allocations: 1.308 MB / 0.5164 GB, free: 10.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002648/0.5565, allocations: 1.775 MB / 0.5181 GB, free: 8.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005064/0.5615, allocations: 3.208 MB / 0.5213 GB, free: 4.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.455e-05/0.5615, allocations: 7.938 kB / 0.5213 GB, free: 4.762 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008422/0.57, allocations: 4.069 MB / 0.5253 GB, free: 0.668 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.676e-05/0.57, allocations: 12 kB / 0.5253 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-05/0.57, allocations: 12 kB / 0.5253 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003021/0.5731, allocations: 0.8769 MB / 0.5261 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0023/0.5754, allocations: 0.5305 MB / 0.5267 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01213/0.5875, allocations: 9.482 MB / 0.5359 GB, free: 5.324 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002891/0.5904, allocations: 115.9 kB / 0.536 GB, free: 5.211 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000425/0.5908, allocations: 88 kB / 0.5361 GB, free: 5.125 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.002898/0.5937, allocations: 1.215 MB / 0.5373 GB, free: 3.898 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008578/0.5946, allocations: 294.1 kB / 0.5376 GB, free: 3.609 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007241/0.6018, allocations: 3.707 MB / 0.5412 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.2e-05/0.6018, allocations: 24 kB / 0.5412 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/0.6018, allocations: 4 kB / 0.5412 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.839e-05/0.6019, allocations: 15.89 kB / 0.5412 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01663/0.6185, allocations: 7.994 MB / 0.5491 GB, free: 7.715 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.6185, allocations: 0 / 0.5491 GB, free: 7.715 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001701/0.6202, allocations: 391.8 kB / 0.5494 GB, free: 7.332 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003175/0.6234, allocations: 0.9291 MB / 0.5503 GB, free: 6.387 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002106/0.6236, allocations: 51.97 kB / 0.5504 GB, free: 6.336 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01353/0.6371, allocations: 11.11 MB / 0.5612 GB, free: 10.67 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.418e-05/0.6372, allocations: 4 kB / 0.5612 GB, free: 10.67 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01054/0.6477, allocations: 5.51 MB / 0.5666 GB, free: 5.09 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002094/0.6498, allocations: 0.6436 MB / 0.5672 GB, free: 4.426 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006983/0.6505, allocations: 44 kB / 0.5673 GB, free: 4.383 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001603/0.6521, allocations: 115.9 kB / 0.5674 GB, free: 4.27 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005043/0.6526, allocations: 185.7 kB / 0.5676 GB, free: 4.086 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000176/0.6528, allocations: 63.98 kB / 0.5676 GB, free: 4.023 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003158/0.656, allocations: 1.735 MB / 0.5693 GB, free: 2.277 MB / 478.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.656, allocations: 0 / 0.5693 GB, free: 2.277 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003514/0.6595, allocations: 0.8007 MB / 0.5701 GB, free: 1.477 MB / 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.01061/0.6701, allocations: 6.217 MB / 0.5762 GB, free: 11.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006965/0.6771, allocations: 3.771 MB / 0.5799 GB, free: 7.344 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.6771, allocations: 384 / 0.5799 GB, free: 7.344 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004493/0.6816, allocations: 2.386 MB / 0.5822 GB, free: 4.883 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004335/0.6859, allocations: 0.7858 MB / 0.583 GB, free: 4.105 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05938/0.7453, allocations: 29.61 MB / 0.6119 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003211/0.7485, allocations: 2.781 MB / 0.6146 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002492/0.751, allocations: 0.6868 MB / 0.6153 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002392/0.7534, allocations: 1.413 MB / 0.6166 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of SimCode: time 1.894e-06/0.7534, allocations: 0 / 0.6166 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3267/1.08, allocations: 74.36 MB / 0.6893 GB, free: 121 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.73/16.81, allocations: 15.7 kB / 0.6893 GB, free: 121 MB / 0.5137 GB " [Timeout remaining time 643] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.547916386974975] 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'] 16.99230376398191 17.001955008 16.562621612 Calling exit ...