Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.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.001315/0.001315, allocations: 116.9 kB / 18.49 MB, free: 4.535 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.001392/0.001392, allocations: 220.7 kB / 21.46 MB, free: 1.582 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.475/1.475, allocations: 230.4 MB / 254.7 MB, free: 15.2 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.Transformers.IMC_Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_IMC_Transformer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_IMC_Transformer",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 59.91 kB / 373.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1249, allocations: 53.38 MB / 427.1 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01629/0.1412, allocations: 13.02 MB / 440.1 MB, free: 7.531 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008782/0.15, allocations: 4.284 MB / 444.4 MB, free: 3.234 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002368/0.1524, allocations: 103.3 kB / 444.5 MB, free: 3.133 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002937/0.1553, allocations: 1.033 MB / 445.5 MB, free: 2.094 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004253/0.1596, allocations: 1.239 MB / 446.8 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.1611, allocations: 0.5345 MB / 447.3 MB, free: 320 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2215/0.3826, allocations: 4.675 MB / 452 MB, free: 9.594 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003681/0.3863, allocations: 2.696 MB / 454.7 MB, free: 9.273 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004934/0.3912, allocations: 2.191 MB / 456.9 MB, free: 8.977 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005188/0.3964, allocations: 2.641 MB / 459.5 MB, free: 8.418 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001681/0.3981, allocations: 0.5525 MB / 460.1 MB, free: 8.418 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003221/0.4013, allocations: 0.6575 MB / 460.7 MB, free: 8.402 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002014/0.4033, allocations: 1.545 MB / 462.3 MB, free: 7.582 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005576/0.4089, allocations: 2.5 MB / 464.8 MB, free: 5.996 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0124/0.4213, allocations: 7.481 MB / 472.2 MB, free: 3.301 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/0.4213, allocations: 0 / 472.2 MB, free: 3.301 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.4213, allocations: 0 / 472.2 MB, free: 3.301 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003499/0.4216, allocations: 5.109 kB / 472.3 MB, free: 3.297 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.01421/0.4359, allocations: 4.826 MB / 477.1 MB, free: 52 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.4359, allocations: 10.66 kB / 477.1 MB, free: 52 kB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001433/0.4361, allocations: 100.8 kB / 477.2 MB, free: 40 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009536/0.437, allocations: 0.5021 MB / 477.7 MB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/0.439, allocations: 0.5496 MB / 478.2 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005662/0.4447, allocations: 2.607 MB / 480.8 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002592/0.4449, allocations: 269 kB / 481.1 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006931/0.4456, allocations: 365.9 kB / 481.5 MB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01029/0.4559, allocations: 5.061 MB / 486.5 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.397e-05/0.456, allocations: 6.578 kB / 486.5 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003823/0.4564, allocations: 150.3 kB / 486.7 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001869/0.4566, allocations: 197.7 kB / 486.9 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00814/0.4647, allocations: 4.304 MB / 491.2 MB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02958/0.4943, allocations: 15.1 MB / 0.4944 GB, free: 8.234 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005322/0.4996, allocations: 4.057 MB / 0.4984 GB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003501/0.5031, allocations: 1.88 MB / 0.5002 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003203/0.5034, allocations: 131 kB / 0.5003 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.403e-05/0.5035, allocations: 56.56 kB / 0.5004 GB, free: 1.816 MB / 398.1 MB Notification: Performance of pre-optimization done (n=198): time 4.91e-06/0.5035, allocations: 0 / 0.5004 GB, free: 1.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=218): time 0.023/0.5265, allocations: 10.01 MB / 0.5102 GB, free: 7.711 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.213e-05/0.5265, allocations: 73.41 kB / 0.5102 GB, free: 7.625 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004534/0.5311, allocations: 2.518 MB / 0.5127 GB, free: 5.086 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003293/0.5314, allocations: 61.7 kB / 0.5127 GB, free: 5.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001444/0.5328, allocations: 1.669 MB / 0.5144 GB, free: 3.344 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008607/0.5337, allocations: 0.7674 MB / 0.5151 GB, free: 2.586 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007883/0.5345, allocations: 420.4 kB / 0.5155 GB, free: 2.168 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.5346, allocations: 309.1 kB / 0.5158 GB, free: 1.863 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002305/0.5369, allocations: 1.297 MB / 0.5171 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002754/0.5397, allocations: 1.781 MB / 0.5188 GB, free: 14.6 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005074/0.5448, allocations: 3.214 MB / 0.522 GB, free: 11.21 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/0.5448, allocations: 4 kB / 0.522 GB, free: 11.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.00805/0.5528, allocations: 4.066 MB / 0.5259 GB, free: 7.113 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/0.5529, allocations: 10.5 kB / 0.526 GB, free: 7.105 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.722e-05/0.5529, allocations: 16 kB / 0.526 GB, free: 7.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002972/0.5559, allocations: 0.8782 MB / 0.5268 GB, free: 6.199 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002238/0.5581, allocations: 0.5227 MB / 0.5273 GB, free: 5.676 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01156/0.5697, allocations: 9.49 MB / 0.5366 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002785/0.5724, allocations: 119.9 kB / 0.5367 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003204/0.5728, allocations: 87.98 kB / 0.5368 GB, free: 11.59 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.002734/0.5755, allocations: 1.215 MB / 0.538 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008173/0.5763, allocations: 294.2 kB / 0.5383 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007208/0.5835, allocations: 3.691 MB / 0.5419 GB, free: 6.352 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.801e-05/0.5836, allocations: 24 kB / 0.5419 GB, free: 6.328 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.594e-05/0.5836, allocations: 11.92 kB / 0.5419 GB, free: 6.316 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.879e-05/0.5836, allocations: 12 kB / 0.5419 GB, free: 6.305 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01567/0.5993, allocations: 8.022 MB / 0.5498 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/0.5993, allocations: 4 kB / 0.5498 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0017/0.601, allocations: 387.8 kB / 0.5501 GB, free: 13.83 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003152/0.6041, allocations: 0.9213 MB / 0.551 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001766/0.6043, allocations: 55.97 kB / 0.5511 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01322/0.6175, allocations: 11.11 MB / 0.5619 GB, free: 1.184 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.6175, allocations: 4 kB / 0.5619 GB, free: 1.18 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01032/0.6279, allocations: 5.513 MB / 0.5673 GB, free: 11.6 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002081/0.6299, allocations: 0.6475 MB / 0.5679 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004911/0.6304, allocations: 51.98 kB / 0.568 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001443/0.6319, allocations: 111.9 kB / 0.5681 GB, free: 10.77 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005271/0.6324, allocations: 185.6 kB / 0.5683 GB, free: 10.59 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001512/0.6325, allocations: 59.98 kB / 0.5683 GB, free: 10.53 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003082/0.6356, allocations: 1.743 MB / 0.57 GB, free: 8.773 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6356, allocations: 0 / 0.57 GB, free: 8.773 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003184/0.6388, allocations: 0.8007 MB / 0.5708 GB, free: 7.973 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.01002/0.6488, allocations: 6.19 MB / 0.5769 GB, free: 1.715 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006702/0.6555, allocations: 3.766 MB / 0.5805 GB, free: 13.87 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.6555, allocations: 4.188 kB / 0.5805 GB, free: 13.87 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004146/0.6597, allocations: 2.392 MB / 0.5829 GB, free: 11.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004114/0.6638, allocations: 0.7861 MB / 0.5836 GB, free: 10.63 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0551/0.7189, allocations: 29.64 MB / 0.6126 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003055/0.722, allocations: 2.782 MB / 0.6153 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002411/0.7244, allocations: 0.6829 MB / 0.616 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002125/0.7265, allocations: 1.425 MB / 0.6174 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of SimCode: time 1.072e-06/0.7265, allocations: 0 / 0.6174 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3622/1.089, allocations: 74.4 MB / 0.69 GB, free: 159.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.46/16.55, allocations: 21.61 kB / 0.69 GB, free: 159 MB / 0.5294 GB " [Timeout remaining time 643] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_IMC_Transformer_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_IMC_Transformer.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.292179678042885] Failed to read output from testmodel.py, exit status != 0: ['time', '// aimc.i_0_s', 'aimc.idq_rr[1]', 'aimc.idq_rr[2]', 'aimc.idq_sr[1]', 'aimc.idq_sr[2]', 'aimc.is[1]', 'aimc.is[2]', 'loadInertia.phi', 'loadInertia.w', 'transformer.l2sigma.inductor[2].i', 'transformer.l2sigma.inductor[3].i'] 16.73504482198041 16.745244336 16.321340411 Calling exit ...