Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.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.001748/0.001748, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.00213/0.00213, allocations: 210.5 kB / 21.46 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.496/1.496, allocations: 230.4 MB / 254.7 MB, free: 15.01 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-beta.om/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.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 71.77 kB / 373.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1156, allocations: 53.31 MB / 426.9 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.2546/0.3702, allocations: 28.72 MB / 455.6 MB, free: 9.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01978/0.39, allocations: 7.205 MB / 462.8 MB, free: 4.203 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00904/0.399, allocations: 263.7 kB / 463.1 MB, free: 4.152 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03173/0.4308, allocations: 13.23 MB / 476.3 MB, free: 11.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01293/0.4437, allocations: 2.551 MB / 478.9 MB, free: 9.117 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00835/0.452, allocations: 2.039 MB / 480.9 MB, free: 7.508 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02842/0.4805, allocations: 18.3 MB / 499.2 MB, free: 8.777 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07194/0.5524, allocations: 34.25 MB / 0.5209 GB, free: 6.312 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01932/0.5717, allocations: 9.948 MB / 0.5307 GB, free: 12.35 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02008/0.5918, allocations: 11.13 MB / 0.5415 GB, free: 1.188 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008113/0.5999, allocations: 2.918 MB / 0.5444 GB, free: 14.27 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01071/0.6106, allocations: 3.195 MB / 0.5475 GB, free: 11.07 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01/0.6206, allocations: 5.491 MB / 0.5529 GB, free: 5.57 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02572/0.6464, allocations: 10.82 MB / 0.5634 GB, free: 10.71 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0527/0.6991, allocations: 39.1 MB / 0.6016 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.6991, allocations: 7.938 kB / 0.6016 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.464e-06/0.6991, allocations: 0 / 0.6016 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.001169/0.7002, allocations: 0 / 0.6016 GB, free: 3.473 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4885 * Number of variables: 4885 Notification: Performance of Generate backend data structure: time 0.4941/1.194, allocations: 22.31 MB / 0.6234 GB, free: 136 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 6.237e-05/1.194, allocations: 9.562 kB / 0.6234 GB, free: 136 MB / 0.5138 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01197/1.206, allocations: 2.96 MB / 0.6263 GB, free: 134.7 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05697/1.263, allocations: 8.247 MB / 0.6344 GB, free: 133.2 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03948/1.303, allocations: 11.67 MB / 0.6457 GB, free: 127.9 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002534/1.305, allocations: 1.341 MB / 0.6471 GB, free: 127.3 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007778/1.313, allocations: 1.76 MB / 0.6488 GB, free: 126.8 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07098/1.384, allocations: 28.77 MB / 0.6769 GB, free: 103.7 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008206/1.385, allocations: 27.81 kB / 0.6769 GB, free: 103.7 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005917/1.391, allocations: 0.7297 MB / 0.6776 GB, free: 103 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006648/1.392, allocations: 0.8493 MB / 0.6784 GB, free: 102.1 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04731/1.439, allocations: 24.83 MB / 0.7027 GB, free: 77.25 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1418/1.581, allocations: 87.52 MB / 0.7882 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03625/1.617, allocations: 34.59 MB / 0.8219 GB, free: 15.1 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01122/1.628, allocations: 5.051 MB / 0.8269 GB, free: 10.04 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009091/1.629, allocations: 334.4 kB / 0.8272 GB, free: 9.668 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/1.629, allocations: 99.08 kB / 0.8273 GB, free: 9.559 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=577): time 1.618e-05/1.629, allocations: 0 / 0.8273 GB, free: 9.559 MB / 0.5763 GB Notification: Performance of matching and sorting (n=577): time 0.04106/1.67, allocations: 14.77 MB / 0.8417 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000152/1.67, allocations: 133.6 kB / 0.8418 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01503/1.685, allocations: 6.425 MB / 0.8481 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001038/1.686, allocations: 117.7 kB / 0.8482 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.4558/2.142, allocations: 7.9 MB / 0.8559 GB, free: 197 MB / 0.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.002649/2.145, allocations: 2.108 MB / 0.858 GB, free: 195.9 MB / 0.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004954/2.15, allocations: 2.117 MB / 0.8601 GB, free: 195.7 MB / 0.592 GB Notification: Performance of setup shared object (initialization): time 5.304e-05/2.15, allocations: 303.1 kB / 0.8603 GB, free: 195.4 MB / 0.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008812/2.159, allocations: 4.745 MB / 0.865 GB, free: 195.2 MB / 0.592 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01184/2.171, allocations: 9.474 MB / 0.8742 GB, free: 187.3 MB / 0.592 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01983/2.19, allocations: 15.33 MB / 0.8892 GB, free: 176.2 MB / 0.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002635/2.191, allocations: 45.59 kB / 0.8892 GB, free: 176.2 MB / 0.592 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02586/2.217, allocations: 15.41 MB / 0.9043 GB, free: 170 MB / 0.592 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001786/2.217, allocations: 73.28 kB / 0.9044 GB, free: 170 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003288/2.217, allocations: 159.5 kB / 0.9045 GB, free: 170 MB / 0.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005055/2.222, allocations: 1.66 MB / 0.9061 GB, free: 169.7 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008085/2.23, allocations: 2.357 MB / 0.9084 GB, free: 169.4 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01349/2.244, allocations: 11.62 MB / 0.9198 GB, free: 163.2 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008171/2.252, allocations: 1.371 MB / 0.9211 GB, free: 162.7 MB / 0.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002167/2.254, allocations: 0.5369 MB / 0.9217 GB, free: 162.4 MB / 0.592 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * 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 (1243): * Single equations (assignments): 1240 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01214/2.266, allocations: 7.143 MB / 0.9286 GB, free: 156.5 MB / 0.592 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001574/2.268, allocations: 0.6465 MB / 0.9293 GB, free: 155.8 MB / 0.592 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01459/2.282, allocations: 10.07 MB / 0.9391 GB, free: 147.4 MB / 0.592 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01046/2.293, allocations: 7.764 MB / 0.9467 GB, free: 140.1 MB / 0.592 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.296e-05/2.293, allocations: 20.58 kB / 0.9467 GB, free: 140 MB / 0.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.277e-05/2.293, allocations: 28.45 kB / 0.9467 GB, free: 140 MB / 0.592 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04337/2.336, allocations: 25.7 MB / 0.9718 GB, free: 114.2 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.466e-05/2.336, allocations: 8 kB / 0.9718 GB, free: 114.2 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003888/2.34, allocations: 1.014 MB / 0.9728 GB, free: 113.2 MB / 0.592 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00465/2.345, allocations: 1.466 MB / 0.9743 GB, free: 111.7 MB / 0.592 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008809/2.346, allocations: 132.8 kB / 0.9744 GB, free: 111.6 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01181/2.358, allocations: 11.17 MB / 0.9853 GB, free: 100.3 MB / 0.592 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/2.358, allocations: 15.88 kB / 0.9853 GB, free: 100.3 MB / 0.592 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01951/2.377, allocations: 14.13 MB / 0.9991 GB, free: 85.82 MB / 0.592 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004466/2.381, allocations: 1.478 MB / 1.001 GB, free: 84.36 MB / 0.592 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001521/2.383, allocations: 108 kB / 1.001 GB, free: 84.26 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003406/2.386, allocations: 319.7 kB / 1.001 GB, free: 83.95 MB / 0.592 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009037/2.387, allocations: 408.4 kB / 1.001 GB, free: 83.54 MB / 0.592 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003674/2.388, allocations: 178.9 kB / 1.002 GB, free: 83.37 MB / 0.592 GB Notification: Performance of sorting global known variables: time 0.006233/2.394, allocations: 4.301 MB / 1.006 GB, free: 79.1 MB / 0.592 GB Notification: Performance of sort global known variables: time 1e-07/2.394, allocations: 0 / 1.006 GB, free: 79.1 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.01187/2.406, allocations: 4.095 MB / 1.01 GB, free: 74.99 MB / 0.592 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 1 (source.plug_p.reference.gamma) * 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 (528): * Single equations (assignments): 525 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01873/2.425, allocations: 14.93 MB / 1.024 GB, free: 59.71 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.01716/2.442, allocations: 10.95 MB / 1.035 GB, free: 48.71 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 1.948e-05/2.442, allocations: 11.75 kB / 1.035 GB, free: 48.7 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.007354/2.449, allocations: 4.342 MB / 1.039 GB, free: 44.35 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007737/2.457, allocations: 1.557 MB / 1.041 GB, free: 42.85 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4019/2.859, allocations: 94.46 MB / 1.133 GB, free: 150.7 MB / 0.592 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02079/2.879, allocations: 11.27 MB / 1.144 GB, free: 143.9 MB / 0.592 GB Notification: Performance of simCode: alias equations: time 0.008953/2.888, allocations: 3.77 MB / 1.148 GB, free: 140.2 MB / 0.592 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009098/2.898, allocations: 5.943 MB / 1.153 GB, free: 134.3 MB / 0.592 GB Notification: Performance of SimCode: time 1.943e-06/2.898, allocations: 0 / 1.153 GB, free: 134.3 MB / 0.592 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.53/3.428, allocations: 208.7 MB / 1.357 GB, free: 166.9 MB / 0.6077 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.93/30.36, allocations: 5.188 kB / 1.357 GB, free: 166.9 MB / 0.6077 GB " [Timeout remaining time 629] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 33.50032784976065] Failed to read output from testmodel.py, exit status != 0: ['time', 'source.plug_p.reference.gamma'] 30.542742740828544 30.557769345 29.855255515 Calling exit ...