Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001708/0.001709, allocations: 115.9 kB / 17.74 MB, free: 5.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001839/0.001839, allocations: 185.3 kB / 20.68 MB, free: 2.422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 246.4 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 48.06 kB / 357.5 MB, free: 8.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1058, allocations: 49.44 MB / 406.9 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009681/0.1155, allocations: 7.775 MB / 414.7 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005264/0.1208, allocations: 2.656 MB / 417.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00112/0.1219, allocations: 67.69 kB / 417.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001405/0.1234, allocations: 0.5547 MB / 418 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002241/0.1256, allocations: 0.7302 MB / 418.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009299/0.1266, allocations: 415.5 kB / 419.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003679/0.1303, allocations: 3.28 MB / 422.4 MB, free: 7.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004096/0.1344, allocations: 3.585 MB / 426 MB, free: 4.215 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003022/0.1374, allocations: 1.663 MB / 427.6 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003189/0.1406, allocations: 2.032 MB / 429.7 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007226/0.1413, allocations: 460 kB / 430.1 MB, free: 72 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2118/0.3532, allocations: 0.6676 MB / 430.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001152/0.3544, allocations: 1.244 MB / 432 MB, free: 9.422 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002211/0.3566, allocations: 1.969 MB / 434 MB, free: 9.094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007903/0.3645, allocations: 6.118 MB / 440.1 MB, free: 8.418 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.3646, allocations: 0 / 440.1 MB, free: 8.418 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3646, allocations: 1.156 kB / 440.1 MB, free: 8.418 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002327/0.3648, allocations: 0 / 440.1 MB, free: 8.418 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.009519/0.3743, allocations: 3.886 MB / 444 MB, free: 6.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.3744, allocations: 9.375 kB / 444 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006353/0.375, allocations: 432.8 kB / 444.4 MB, free: 6.797 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.3761, allocations: 406.1 kB / 444.8 MB, free: 6.605 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003275/0.3794, allocations: 2.17 MB / 447 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000175/0.3796, allocations: 217.4 kB / 447.2 MB, free: 6.059 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004519/0.38, allocations: 288.4 kB / 447.5 MB, free: 6.055 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006937/0.387, allocations: 4.191 MB / 451.7 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.672e-05/0.3871, allocations: 1.031 kB / 451.7 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002725/0.3874, allocations: 123.6 kB / 451.8 MB, free: 5.688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001561/0.3875, allocations: 140.4 kB / 452 MB, free: 5.668 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005478/0.393, allocations: 3.486 MB / 455.4 MB, free: 3.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01808/0.4111, allocations: 10.8 MB / 466.2 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002957/0.4141, allocations: 2.641 MB / 468.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002376/0.4165, allocations: 1.496 MB / 470.4 MB, free: 9.938 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002571/0.4168, allocations: 128.9 kB / 470.5 MB, free: 9.828 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.684e-05/0.4169, allocations: 50.83 kB / 470.6 MB, free: 9.777 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.987e-06/0.4169, allocations: 3.938 kB / 470.6 MB, free: 9.773 MB / 366.1 MB Notification: Performance of matching and sorting (n=133): time 0.01085/0.4277, allocations: 5.212 MB / 475.8 MB, free: 4.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.462e-05/0.4279, allocations: 94.42 kB / 475.9 MB, free: 4.707 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00399/0.4319, allocations: 1.906 MB / 477.8 MB, free: 2.797 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001666/0.432, allocations: 45.7 kB / 477.8 MB, free: 2.746 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001269/0.4333, allocations: 1.356 MB / 479.2 MB, free: 1.379 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005958/0.4339, allocations: 485.6 kB / 479.6 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005927/0.4345, allocations: 274.9 kB / 479.9 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.4347, allocations: 309.1 kB / 480.2 MB, free: 344 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001515/0.4362, allocations: 0.812 MB / 481 MB, free: 15.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001813/0.438, allocations: 1.185 MB / 482.2 MB, free: 14.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003268/0.4413, allocations: 2.076 MB / 484.3 MB, free: 12.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/0.4413, allocations: 4 kB / 484.3 MB, free: 12.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004979/0.4463, allocations: 2.53 MB / 486.8 MB, free: 9.555 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.806e-05/0.4464, allocations: 9.25 kB / 486.8 MB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.699e-05/0.4464, allocations: 12 kB / 486.8 MB, free: 9.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001951/0.4484, allocations: 482.5 kB / 487.3 MB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/0.4497, allocations: 329.2 kB / 487.6 MB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006154/0.4559, allocations: 4.413 MB / 492 MB, free: 4.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/0.4576, allocations: 88.75 kB / 492.1 MB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002407/0.4579, allocations: 56 kB / 492.2 MB, free: 4.09 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (158): * Single equations (assignments): 153 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002199/0.4601, allocations: 1.053 MB / 493.2 MB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007201/0.4608, allocations: 202.8 kB / 493.4 MB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004043/0.4649, allocations: 2.147 MB / 495.6 MB, free: 0.6992 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.682e-05/0.465, allocations: 19.23 kB / 495.6 MB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/0.465, allocations: 4 kB / 495.6 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.465, allocations: 3.984 kB / 495.6 MB, free: 0.6758 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01053/0.4755, allocations: 5.179 MB / 0.4891 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.4756, allocations: 4 kB / 0.4891 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.4766, allocations: 226.5 kB / 0.4893 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001868/0.4785, allocations: 452.8 kB / 0.4897 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00012/0.4786, allocations: 35.98 kB / 0.4897 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005714/0.4843, allocations: 4.299 MB / 0.4939 GB, free: 6.352 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.4844, allocations: 6.656 kB / 0.4939 GB, free: 6.348 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00577/0.4901, allocations: 3.263 MB / 0.4971 GB, free: 3.059 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001346/0.4915, allocations: 471.5 kB / 0.4976 GB, free: 2.582 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006656/0.4922, allocations: 27.98 kB / 0.4976 GB, free: 2.555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001441/0.4936, allocations: 95.89 kB / 0.4977 GB, free: 2.461 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002686/0.4939, allocations: 100.3 kB / 0.4978 GB, free: 2.367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/0.4941, allocations: 47.98 kB / 0.4978 GB, free: 2.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002704/0.4968, allocations: 1.33 MB / 0.4991 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4968, allocations: 0 / 0.4991 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002588/0.4994, allocations: 0.5585 MB / 0.4997 GB, free: 448 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * 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 (104): * Single equations (assignments): 99 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006468/0.5059, allocations: 3.937 MB / 0.5035 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004069/0.5099, allocations: 2.194 MB / 0.5057 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.51, allocations: 0 / 0.5057 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002128/0.5121, allocations: 1.214 MB / 0.5069 GB, free: 9.113 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003267/0.5154, allocations: 0.5063 MB / 0.5074 GB, free: 8.621 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03962/0.555, allocations: 20.57 MB / 0.5274 GB, free: 3.621 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003417/0.5585, allocations: 2.431 MB / 0.5298 GB, free: 1.16 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001682/0.5602, allocations: 491.4 kB / 0.5303 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001891/0.5621, allocations: 1.077 MB / 0.5313 GB, free: 15.62 MB / 446.1 MB Notification: Performance of SimCode: time 9.12e-07/0.5621, allocations: 4 kB / 0.5313 GB, free: 15.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1096/0.6717, allocations: 51.92 MB / 0.582 GB, free: 12.2 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.48/14.15, allocations: 4 kB / 0.582 GB, free: 12.2 MB / 494.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.56254678289406] Failed to read output from testmodel.py, exit status != 0: ['time', 'transformer.l2sigma.inductor[1].i', 'transformer.l2sigma.inductor[3].i'] 14.25953897414729 14.273794266 13.90673733 Calling exit ...