Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007735/0.0007735, allocations: 85.12 kB / 16.31 MB, free: 5.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008909/0.0008908, allocations: 184.3 kB / 17.21 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.702/1.702, allocations: 205.4 MB / 223.4 MB, free: 5.305 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006796/0.0006798, allocations: 12 kB / 280.2 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3034, allocations: 47.58 MB / 327.7 MB, free: 1.449 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.007523/0.3109, allocations: 6.744 MB / 334.5 MB, free: 12.18 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006182/0.3172, allocations: 2.593 MB / 337.1 MB, free: 10.04 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001694/0.3189, allocations: 52.19 kB / 337.1 MB, free: 10.02 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001627/0.3205, allocations: 431.3 kB / 337.5 MB, free: 9.641 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002568/0.3231, allocations: 0.6412 MB / 338.2 MB, free: 8.996 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.3242, allocations: 287.6 kB / 338.5 MB, free: 8.715 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005169/0.3294, allocations: 3.468 MB / 341.9 MB, free: 5.23 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003364/0.3328, allocations: 2.364 MB / 344.3 MB, free: 2.832 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002839/0.3356, allocations: 1.179 MB / 345.5 MB, free: 1.648 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003603/0.3393, allocations: 1.611 MB / 347.1 MB, free: 32 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007686/0.3401, allocations: 196 kB / 347.3 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001619/0.3417, allocations: 363.7 kB / 347.6 MB, free: 15.48 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001134/0.3428, allocations: 0.9152 MB / 348.5 MB, free: 14.57 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001182/0.344, allocations: 0.6563 MB / 349.2 MB, free: 13.9 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005868/0.3499, allocations: 4.953 MB / 354.2 MB, free: 8.938 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.3499, allocations: 0 / 354.2 MB, free: 8.938 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.3499, allocations: 0 / 354.2 MB, free: 8.938 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0002245/0.3502, allocations: 4 kB / 354.2 MB, free: 8.934 MB / 286.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.009085/0.3593, allocations: 3.194 MB / 357.4 MB, free: 5.676 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/0.3593, allocations: 8.031 kB / 357.4 MB, free: 5.668 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002048/0.3614, allocations: 387.7 kB / 357.7 MB, free: 5.285 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004223/0.3656, allocations: 1.901 MB / 359.6 MB, free: 3.328 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002079/0.3659, allocations: 225.8 kB / 359.9 MB, free: 3.105 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008319/0.3667, allocations: 284 kB / 360.1 MB, free: 2.828 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009239/0.376, allocations: 4.163 MB / 364.3 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.098e-05/0.3761, allocations: 0 / 364.3 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003315/0.3764, allocations: 120 kB / 364.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002015/0.3766, allocations: 145.9 kB / 364.6 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007194/0.3838, allocations: 3.47 MB / 368 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02366/0.4075, allocations: 11 MB / 379 MB, free: 15.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003079/0.4106, allocations: 2.642 MB / 381.7 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00248/0.4132, allocations: 1.493 MB / 383.2 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003028/0.4135, allocations: 130.1 kB / 383.3 MB, free: 11.18 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.706e-05/0.4136, allocations: 51.5 kB / 383.4 MB, free: 11.12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 4.759e-06/0.4136, allocations: 0 / 383.4 MB, free: 11.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=133): time 0.01088/0.4245, allocations: 5.286 MB / 388.6 MB, free: 5.77 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.623e-05/0.4246, allocations: 98.34 kB / 388.7 MB, free: 5.652 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003981/0.4286, allocations: 1.902 MB / 390.6 MB, free: 3.746 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002402/0.4288, allocations: 53.7 kB / 390.7 MB, free: 3.688 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001352/0.4302, allocations: 1.314 MB / 392 MB, free: 2.355 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006631/0.4309, allocations: 465.4 kB / 392.5 MB, free: 1.895 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.431, allocations: 31.88 kB / 392.5 MB, free: 1.863 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002164/0.4312, allocations: 361.9 kB / 392.8 MB, free: 1.504 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002247/0.4335, allocations: 0.8237 MB / 393.7 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002272/0.4358, allocations: 1.179 MB / 394.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002417/0.4382, allocations: 1.021 MB / 395.9 MB, free: 14.33 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.215e-05/0.4383, allocations: 4 kB / 395.9 MB, free: 14.33 MB / 334.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006652/0.4449, allocations: 2.53 MB / 398.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.529e-05/0.445, allocations: 11.95 kB / 398.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.261e-05/0.445, allocations: 12 kB / 398.4 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002647/0.4477, allocations: 486.4 kB / 398.9 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001975/0.4497, allocations: 339.5 kB / 399.2 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00783/0.4576, allocations: 4.061 MB / 403.3 MB, free: 6.762 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002199/0.4598, allocations: 83.92 kB / 403.4 MB, free: 6.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004634/0.4603, allocations: 63.98 kB / 403.4 MB, free: 6.617 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003161/0.4635, allocations: 1.059 MB / 404.5 MB, free: 5.547 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009838/0.4645, allocations: 185.8 kB / 404.7 MB, free: 5.363 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005104/0.4696, allocations: 2.145 MB / 406.8 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.7e-05/0.4697, allocations: 16 kB / 406.8 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.4697, allocations: 8 kB / 406.8 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.125e-05/0.4697, allocations: 7.969 kB / 406.9 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01126/0.481, allocations: 5.206 MB / 412.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.56e-05/0.481, allocations: 4 kB / 412.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.4821, allocations: 231.9 kB / 412.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001953/0.4841, allocations: 460.5 kB / 412.7 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001351/0.4842, allocations: 39.94 kB / 412.8 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005948/0.4902, allocations: 3.967 MB / 416.7 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/0.4902, allocations: 4.031 kB / 416.7 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006449/0.4967, allocations: 3.261 MB / 420 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001579/0.4983, allocations: 466.7 kB / 420.5 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006255/0.4989, allocations: 31.98 kB / 420.5 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/0.5003, allocations: 99.97 kB / 420.6 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000299/0.5006, allocations: 104.8 kB / 420.7 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/0.5008, allocations: 39.98 kB / 420.7 MB, free: 4.988 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.003/0.5038, allocations: 1.326 MB / 422.1 MB, free: 3.668 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5038, allocations: 0 / 422.1 MB, free: 3.668 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003388/0.5072, allocations: 0.5547 MB / 422.6 MB, free: 3.113 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007528/0.508, allocations: 193.9 kB / 422.8 MB, free: 2.914 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004009/0.512, allocations: 2.184 MB / 425 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.512, allocations: 0 / 425 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002093/0.5141, allocations: 1.227 MB / 426.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002914/0.517, allocations: 0.4896 MB / 426.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/0.5288, allocations: 6.798 MB / 433.5 MB, free: 8.129 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002903/0.5318, allocations: 2.423 MB / 435.9 MB, free: 5.676 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001861/0.5337, allocations: 495.4 kB / 436.4 MB, free: 5.188 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006127/0.5343, allocations: 131.4 kB / 436.5 MB, free: 5.059 MB / 366.1 MB Notification: Performance of SimCode: time 1.423e-06/0.5343, allocations: 0 / 436.5 MB, free: 5.059 MB / 366.1 MB Notification: Performance of Templates: time 0.2264/0.7607, allocations: 27.91 MB / 464.5 MB, free: 102.5 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1)