Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.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.001201/0.001201, allocations: 105.7 kB / 19.74 MB, free: 2.453 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.001302/0.001302, allocations: 214.7 kB / 22.92 MB, free: 5.195 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.293/1.293, allocations: 230.5 MB / 256.4 MB, free: 8.262 MB / 206.1 MB " [Timeout remaining time 179] 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.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_Transformers_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.001794/0.001794, allocations: 67.84 kB / 376.1 MB, free: 4.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2221, allocations: 53.32 MB / 429.4 MB, free: 7.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009015/0.2311, allocations: 7.848 MB / 437.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005139/0.2362, allocations: 2.738 MB / 440 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009247/0.2372, allocations: 67.69 kB / 440.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001229/0.2384, allocations: 0.5907 MB / 440.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001763/0.2402, allocations: 0.7575 MB / 441.4 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008805/0.241, allocations: 423.3 kB / 441.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003421/0.2445, allocations: 3.28 MB / 445.1 MB, free: 7.691 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002399/0.2469, allocations: 2.006 MB / 447.1 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002853/0.2497, allocations: 1.68 MB / 448.8 MB, free: 3.953 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00298/0.2527, allocations: 2.071 MB / 450.9 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006012/0.2533, allocations: 463.9 kB / 451.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00117/0.2545, allocations: 0.6792 MB / 452 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001144/0.2556, allocations: 1.258 MB / 453.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002079/0.2577, allocations: 1.968 MB / 455.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005847/0.2635, allocations: 6.12 MB / 461.3 MB, free: 7.363 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2635, allocations: 3.938 kB / 461.3 MB, free: 7.359 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2635, allocations: 0 / 461.3 MB, free: 7.359 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.313e-05/0.2636, allocations: 0 / 461.3 MB, free: 7.359 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: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.007013/0.2707, allocations: 3.895 MB / 465.2 MB, free: 3.395 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.2707, allocations: 12.03 kB / 465.2 MB, free: 3.383 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005087/0.2712, allocations: 425.9 kB / 465.7 MB, free: 2.957 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001264/0.2725, allocations: 454.4 kB / 466.1 MB, free: 2.512 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003171/0.2756, allocations: 2.195 MB / 468.3 MB, free: 268 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001644/0.2758, allocations: 221.8 kB / 468.5 MB, free: 44 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003997/0.2762, allocations: 280 kB / 468.8 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006036/0.2822, allocations: 4.187 MB / 473 MB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.216e-05/0.2823, allocations: 0 / 473 MB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002616/0.2825, allocations: 120 kB / 473.1 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001566/0.2827, allocations: 149.8 kB / 473.2 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00526/0.288, allocations: 3.486 MB / 476.7 MB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01625/0.3042, allocations: 10.79 MB / 487.5 MB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002793/0.307, allocations: 2.572 MB / 490.1 MB, free: 10 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002321/0.3093, allocations: 1.403 MB / 491.5 MB, free: 8.594 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002376/0.3096, allocations: 122.1 kB / 491.6 MB, free: 8.457 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.3096, allocations: 47.56 kB / 491.7 MB, free: 8.402 MB / 398.1 MB Notification: Performance of pre-optimization done (n=128): time 3.237e-06/0.3096, allocations: 0 / 491.7 MB, free: 8.402 MB / 398.1 MB Notification: Performance of matching and sorting (n=133): time 0.008722/0.3183, allocations: 5.219 MB / 496.9 MB, free: 3.133 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.874e-05/0.3184, allocations: 90.42 kB / 497 MB, free: 3.027 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002589/0.321, allocations: 1.918 MB / 498.9 MB, free: 1.105 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.723e-05/0.3211, allocations: 45.7 kB / 498.9 MB, free: 1.055 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009548/0.322, allocations: 1.365 MB / 0.4886 GB, free: 15.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003681/0.3224, allocations: 475.9 kB / 0.489 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004181/0.3228, allocations: 271.5 kB / 0.4893 GB, free: 14.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.3229, allocations: 313 kB / 0.4896 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001211/0.3241, allocations: 0.8159 MB / 0.4904 GB, free: 13.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00147/0.3256, allocations: 1.178 MB / 0.4915 GB, free: 12.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002735/0.3283, allocations: 2.078 MB / 0.4936 GB, free: 10.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.3284, allocations: 4 kB / 0.4936 GB, free: 10.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.003991/0.3323, allocations: 2.527 MB / 0.496 GB, free: 7.719 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.3324, allocations: 12 kB / 0.496 GB, free: 7.707 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.3324, allocations: 8 kB / 0.496 GB, free: 7.699 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001725/0.3341, allocations: 479.1 kB / 0.4965 GB, free: 7.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/0.3354, allocations: 335.5 kB / 0.4968 GB, free: 6.902 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005305/0.3407, allocations: 4.397 MB / 0.5011 GB, free: 2.367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.3419, allocations: 79.94 kB / 0.5012 GB, free: 2.289 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.342, allocations: 60.05 kB / 0.5012 GB, free: 2.23 MB / 414.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.001616/0.3436, allocations: 1.059 MB / 0.5023 GB, free: 1.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003918/0.344, allocations: 202.7 kB / 0.5025 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003381/0.3474, allocations: 2.133 MB / 0.5046 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.475e-05/0.3474, allocations: 19.98 kB / 0.5046 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.3474, allocations: 4 kB / 0.5046 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.3474, allocations: 7.984 kB / 0.5046 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007893/0.3553, allocations: 5.166 MB / 0.5096 GB, free: 9.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.3553, allocations: 4 kB / 0.5096 GB, free: 9.516 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009739/0.3563, allocations: 223.7 kB / 0.5099 GB, free: 9.297 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001665/0.358, allocations: 456.4 kB / 0.5103 GB, free: 8.848 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.373e-05/0.3581, allocations: 39.92 kB / 0.5103 GB, free: 8.809 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005082/0.3631, allocations: 4.307 MB / 0.5145 GB, free: 4.367 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/0.3632, allocations: 11.94 kB / 0.5145 GB, free: 4.355 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004887/0.368, allocations: 3.252 MB / 0.5177 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008211/0.3689, allocations: 463.7 kB / 0.5182 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002117/0.3691, allocations: 39.97 kB / 0.5182 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009487/0.37, allocations: 91.97 kB / 0.5183 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002166/0.3702, allocations: 96.8 kB / 0.5184 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.584e-05/0.3703, allocations: 39.98 kB / 0.5184 GB, free: 332 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001876/0.3722, allocations: 1.342 MB / 0.5197 GB, free: 14.99 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3722, allocations: 0 / 0.5197 GB, free: 14.99 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001547/0.3737, allocations: 0.5507 MB / 0.5203 GB, free: 14.44 MB / 446.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.005331/0.3791, allocations: 3.936 MB / 0.5241 GB, free: 10.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003389/0.3825, allocations: 2.122 MB / 0.5262 GB, free: 8.324 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.3825, allocations: 3.938 kB / 0.5262 GB, free: 8.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001825/0.3843, allocations: 1.152 MB / 0.5273 GB, free: 7.152 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002211/0.3865, allocations: 0.5081 MB / 0.5278 GB, free: 6.648 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1942/0.5807, allocations: 20.62 MB / 0.5479 GB, free: 96.33 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00136/0.5821, allocations: 2.421 MB / 0.5503 GB, free: 95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001027/0.5831, allocations: 0.4932 MB / 0.5508 GB, free: 94.56 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009365/0.584, allocations: 1.069 MB / 0.5518 GB, free: 93.49 MB / 446.1 MB Notification: Performance of SimCode: time 9.22e-07/0.584, allocations: 0 / 0.5518 GB, free: 93.49 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07612/0.6601, allocations: 52.43 MB / 0.603 GB, free: 41.58 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.43, allocations: 15.38 kB / 0.6031 GB, free: 41.57 MB / 446.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.592980499000987]