Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_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.01116/0.01116, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.002562/0.002562, allocations: 193.2 kB / 16.67 MB, free: 5.969 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.898/1.898, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.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.001468/0.001468, allocations: 47.94 kB / 326.5 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1495, allocations: 46.62 MB / 373.2 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.3597/0.5092, allocations: 7.716 MB / 380.9 MB, free: 9.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008611/0.5178, allocations: 2.734 MB / 383.6 MB, free: 7.914 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002812/0.5208, allocations: 56.78 kB / 383.7 MB, free: 7.895 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002803/0.5236, allocations: 0.5655 MB / 384.2 MB, free: 7.559 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005065/0.5287, allocations: 0.7387 MB / 385 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002948/0.5317, allocations: 431.8 kB / 385.4 MB, free: 6.855 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008323/0.5401, allocations: 3.404 MB / 388.8 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008596/0.5487, allocations: 3.437 MB / 392.2 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006476/0.5552, allocations: 1.656 MB / 393.9 MB, free: 2.977 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007354/0.5626, allocations: 2.021 MB / 395.9 MB, free: 2.016 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002316/0.565, allocations: 462 kB / 396.4 MB, free: 2.016 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004254/0.5692, allocations: 0.6806 MB / 397 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003329/0.5726, allocations: 1.229 MB / 398.3 MB, free: 1.258 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01016/0.5828, allocations: 1.974 MB / 400.2 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01759/0.6004, allocations: 6.109 MB / 406.4 MB, free: 12.01 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.6005, allocations: 4 kB / 406.4 MB, free: 12.01 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.6005, allocations: 0 / 406.4 MB, free: 12.01 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003162/0.6008, allocations: 1.062 kB / 406.4 MB, free: 12.01 MB / 334.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.01886/0.6197, allocations: 3.863 MB / 410.2 MB, free: 9.379 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.528e-05/0.6198, allocations: 8.781 kB / 410.2 MB, free: 9.379 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002396/0.6222, allocations: 411.9 kB / 410.6 MB, free: 9.172 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005674/0.6279, allocations: 1.974 MB / 412.6 MB, free: 7.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002959/0.6282, allocations: 224.6 kB / 412.8 MB, free: 7.715 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009521/0.6292, allocations: 289.8 kB / 413.1 MB, free: 7.445 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01093/0.6401, allocations: 4.191 MB / 417.3 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.228e-05/0.6402, allocations: 4 kB / 417.3 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003336/0.6406, allocations: 116 kB / 417.4 MB, free: 3.086 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002308/0.6408, allocations: 137.9 kB / 417.6 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006975/0.6478, allocations: 3.486 MB / 421 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01923/0.6671, allocations: 10.81 MB / 431.8 MB, free: 4.457 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003197/0.6703, allocations: 2.65 MB / 434.5 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002665/0.673, allocations: 1.505 MB / 436 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002989/0.6733, allocations: 126.1 kB / 436.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/0.6734, allocations: 47.56 kB / 436.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.947e-06/0.6734, allocations: 0 / 436.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=133): time 0.01072/0.6841, allocations: 5.322 MB / 441.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.593e-05/0.6842, allocations: 94.42 kB / 441.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003198/0.6874, allocations: 1.91 MB / 443.5 MB, free: 8.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001145/0.6876, allocations: 57.69 kB / 443.6 MB, free: 8.418 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001112/0.6887, allocations: 1.353 MB / 444.9 MB, free: 7.051 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003886/0.6891, allocations: 471.9 kB / 445.4 MB, free: 6.586 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004466/0.6895, allocations: 279.5 kB / 445.6 MB, free: 6.305 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.6898, allocations: 305.1 kB / 445.9 MB, free: 6.004 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001215/0.691, allocations: 0.812 MB / 446.7 MB, free: 5.191 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001625/0.6926, allocations: 1.195 MB / 447.9 MB, free: 3.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002956/0.6956, allocations: 2.087 MB / 450 MB, free: 1.609 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/0.6956, allocations: 4 kB / 450 MB, free: 1.605 MB / 366.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004454/0.7001, allocations: 2.535 MB / 452.6 MB, free: 15.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/0.7001, allocations: 11.98 kB / 452.6 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/0.7001, allocations: 12 kB / 452.6 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001444/0.7016, allocations: 426.7 kB / 453 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/0.7029, allocations: 331.5 kB / 453.3 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005549/0.7084, allocations: 4.408 MB / 457.7 MB, free: 9.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001993/0.7105, allocations: 83.88 kB / 457.8 MB, free: 9.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/0.7106, allocations: 63.98 kB / 457.9 MB, free: 9.605 MB / 382.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 (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.002456/0.7131, allocations: 1.055 MB / 458.9 MB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005826/0.7137, allocations: 198.8 kB / 459.1 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003949/0.7176, allocations: 2.137 MB / 461.3 MB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.086e-05/0.7177, allocations: 16 kB / 461.3 MB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.948e-06/0.7177, allocations: 4 kB / 461.3 MB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.787e-05/0.7178, allocations: 7.969 kB / 461.3 MB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009778/0.7275, allocations: 5.182 MB / 466.5 MB, free: 0.8867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.7276, allocations: 0 / 466.5 MB, free: 0.8867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009727/0.7286, allocations: 235.9 kB / 466.7 MB, free: 0.6562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001371/0.7299, allocations: 400.6 kB / 467.1 MB, free: 268 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.271e-05/0.7301, allocations: 35.98 kB / 467.1 MB, free: 232 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005276/0.7353, allocations: 4.299 MB / 471.4 MB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.7354, allocations: 0 / 471.4 MB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005325/0.7407, allocations: 3.264 MB / 474.7 MB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/0.742, allocations: 471.8 kB / 475.2 MB, free: 8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003289/0.7423, allocations: 28.06 kB / 475.2 MB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/0.7434, allocations: 91.89 kB / 475.3 MB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002982/0.7437, allocations: 108.6 kB / 475.4 MB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/0.7438, allocations: 43.92 kB / 475.4 MB, free: 7.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002272/0.7461, allocations: 1.338 MB / 476.8 MB, free: 6.398 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7461, allocations: 0 / 476.8 MB, free: 6.398 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002303/0.7484, allocations: 0.5468 MB / 477.3 MB, free: 5.852 MB / 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.0008013/0.7492, allocations: 221.3 kB / 477.5 MB, free: 5.629 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004033/0.7533, allocations: 2.2 MB / 479.7 MB, free: 3.418 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.7533, allocations: 320 / 479.7 MB, free: 3.418 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001983/0.7553, allocations: 1.226 MB / 481 MB, free: 2.176 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002548/0.7578, allocations: 0.5183 MB / 481.5 MB, free: 1.656 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009913/0.7678, allocations: 5.795 MB / 487.3 MB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002196/0.77, allocations: 2.42 MB / 489.7 MB, free: 9.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001552/0.7716, allocations: 495.4 kB / 490.2 MB, free: 8.852 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004205/0.772, allocations: 135.4 kB / 490.3 MB, free: 8.719 MB / 414.1 MB Notification: Performance of SimCode: time 2.465e-06/0.772, allocations: 4 kB / 490.3 MB, free: 8.715 MB / 414.1 MB Notification: Performance of Templates: time 0.05637/0.8284, allocations: 30.72 MB / 0.5088 GB, free: 9.938 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1)