Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.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.QuasiStationary.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001206/0.001206, allocations: 191.3 kB / 16.25 MB, free: 6.629 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.43/1.43, allocations: 205.1 MB / 222.1 MB, free: 4.672 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.001467/0.001467, allocations: 51.92 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2395, allocations: 46.63 MB / 324.9 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.006353/0.2459, allocations: 5.849 MB / 330.7 MB, free: 13.28 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003941/0.2498, allocations: 1.882 MB / 332.6 MB, free: 11.75 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000471/0.2504, allocations: 19.66 kB / 332.6 MB, free: 11.75 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003364/0.2538, allocations: 1.543 MB / 334.1 MB, free: 10.61 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002155/0.2559, allocations: 0.7506 MB / 334.9 MB, free: 10.02 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006257/0.2566, allocations: 247.6 kB / 335.1 MB, free: 9.773 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001035/0.2576, allocations: 0.8912 MB / 336 MB, free: 8.879 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001379/0.259, allocations: 0.99 MB / 337 MB, free: 7.863 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004253/0.2594, allocations: 386.6 kB / 337.4 MB, free: 7.484 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005131/0.26, allocations: 0.5331 MB / 337.9 MB, free: 6.949 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001383/0.2601, allocations: 84 kB / 338 MB, free: 6.867 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005074/0.2606, allocations: 251.8 kB / 338.3 MB, free: 6.621 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.2608, allocations: 203.2 kB / 338.5 MB, free: 6.422 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003303/0.2611, allocations: 461.7 kB / 338.9 MB, free: 5.969 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.2622, allocations: 1.223 MB / 340.1 MB, free: 4.742 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2622, allocations: 0 / 340.1 MB, free: 4.742 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.2622, allocations: 4 kB / 340.1 MB, free: 4.738 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.2622, allocations: 3.938 kB / 340.1 MB, free: 4.734 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.003113/0.2654, allocations: 1.417 MB / 341.6 MB, free: 3.266 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.2654, allocations: 8.031 kB / 341.6 MB, free: 3.258 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006667/0.2721, allocations: 0.9676 MB / 342.5 MB, free: 2.289 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007529/0.2729, allocations: 447 kB / 343 MB, free: 1.812 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.221e-05/0.2729, allocations: 82.55 kB / 343 MB, free: 1.73 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/0.2731, allocations: 108.4 kB / 343.2 MB, free: 1.625 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001963/0.2751, allocations: 1.129 MB / 344.3 MB, free: 468 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/0.2751, allocations: 0 / 344.3 MB, free: 468 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.259e-05/0.2752, allocations: 52 kB / 344.3 MB, free: 416 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.149e-05/0.2752, allocations: 24 kB / 344.4 MB, free: 392 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001847/0.2771, allocations: 1.132 MB / 345.5 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005209/0.2823, allocations: 3.972 MB / 349.5 MB, free: 11.04 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003459/0.2858, allocations: 3.752 MB / 353.2 MB, free: 6.613 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005709/0.2864, allocations: 320.6 kB / 353.5 MB, free: 6.293 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/0.2865, allocations: 101.6 kB / 353.6 MB, free: 6.176 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.2866, allocations: 47 kB / 353.7 MB, free: 6.121 MB / 286.1 MB Notification: Performance of pre-optimization done (n=71): time 2.946e-06/0.2866, allocations: 0 / 353.7 MB, free: 6.121 MB / 286.1 MB Notification: Performance of matching and sorting (n=71): time 0.00142/0.288, allocations: 0.7522 MB / 354.4 MB, free: 5.363 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.725e-05/0.2881, allocations: 115.6 kB / 354.5 MB, free: 5.227 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003511/0.2885, allocations: 324.3 kB / 354.9 MB, free: 4.898 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.768e-05/0.2885, allocations: 37.7 kB / 354.9 MB, free: 4.855 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002695/0.2888, allocations: 441.9 kB / 355.3 MB, free: 4.414 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001917/0.289, allocations: 248.5 kB / 355.6 MB, free: 4.168 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002232/0.2892, allocations: 170.4 kB / 355.7 MB, free: 3.996 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.2894, allocations: 358.8 kB / 356.1 MB, free: 3.637 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004242/0.2898, allocations: 245.9 kB / 356.3 MB, free: 3.395 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006347/0.2904, allocations: 0.5708 MB / 356.9 MB, free: 2.68 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.2916, allocations: 0.8715 MB / 357.8 MB, free: 1.664 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/0.2916, allocations: 4 kB / 357.8 MB, free: 1.66 MB / 286.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001393/0.293, allocations: 0.891 MB / 358.7 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.293, allocations: 11.94 kB / 358.7 MB, free: 0.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.2931, allocations: 15.94 kB / 358.7 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.841e-05/0.2931, allocations: 16.75 kB / 358.7 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008285/0.2939, allocations: 239.6 kB / 358.9 MB, free: 496 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.723e-05/0.294, allocations: 23.92 kB / 359 MB, free: 472 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000525/0.2945, allocations: 98.97 kB / 359.1 MB, free: 372 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.69e-05/0.2946, allocations: 47.98 kB / 359.1 MB, free: 324 kB / 286.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 (122): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003173/0.2949, allocations: 241.5 kB / 359.3 MB, free: 72 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.295, allocations: 47.38 kB / 359.4 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/0.2963, allocations: 0.6862 MB / 360.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.2963, allocations: 11.94 kB / 360.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.2963, allocations: 0 / 360.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.2964, allocations: 3.984 kB / 360.1 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002408/0.2988, allocations: 1.582 MB / 361.7 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.2988, allocations: 3.938 kB / 361.7 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005911/0.2994, allocations: 151.8 kB / 361.8 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-06/0.2994, allocations: 7.984 kB / 361.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.546e-05/0.2995, allocations: 20 kB / 361.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.421e-06/0.2995, allocations: 4 kB / 361.9 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2995, allocations: 0 / 361.9 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/0.301, allocations: 1.162 MB / 363 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.3012, allocations: 136.3 kB / 363.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.236e-05/0.3013, allocations: 12 kB / 363.2 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003809/0.3017, allocations: 27.98 kB / 363.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.648e-05/0.3018, allocations: 44.58 kB / 363.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.73e-05/0.3018, allocations: 27.98 kB / 363.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001996/0.302, allocations: 211.1 kB / 363.5 MB, free: 11.85 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.302, allocations: 0 / 363.5 MB, free: 11.85 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008336/0.3029, allocations: 247.1 kB / 363.7 MB, free: 11.61 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,voltageSource.pin_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 (78): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002553/0.3031, allocations: 147 kB / 363.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001464/0.3046, allocations: 0.7249 MB / 364.6 MB, free: 10.72 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.3046, allocations: 0 / 364.6 MB, free: 10.72 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004707/0.3051, allocations: 329 kB / 364.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005674/0.3057, allocations: 52.95 kB / 364.9 MB, free: 10.35 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002751/0.3084, allocations: 1.805 MB / 366.7 MB, free: 8.516 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005764/0.309, allocations: 0.928 MB / 367.7 MB, free: 7.559 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004187/0.3095, allocations: 92.88 kB / 367.8 MB, free: 7.469 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.3096, allocations: 63.36 kB / 367.8 MB, free: 7.406 MB / 302.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3096, allocations: 0 / 367.8 MB, free: 7.406 MB / 302.1 MB Notification: Performance of Templates: time 0.01003/0.3197, allocations: 5.065 MB / 372.9 MB, free: 2.336 MB / 302.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe 2>&1)