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.004705/0.004705, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001077/0.001077, allocations: 195.4 kB / 16.67 MB, free: 5.52 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.378/1.378, allocations: 205.1 MB / 222.5 MB, free: 12.25 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.001146/0.001146, allocations: 51.92 kB / 326.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0897/0.09085, allocations: 46.61 MB / 373.2 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.2073/0.2982, allocations: 5.877 MB / 379 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00298/0.3012, allocations: 1.906 MB / 380.9 MB, free: 9.535 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002893/0.3015, allocations: 19.25 kB / 381 MB, free: 9.535 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003337/0.3049, allocations: 1.634 MB / 382.6 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.3066, allocations: 0.8272 MB / 383.4 MB, free: 8.461 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006318/0.3073, allocations: 280.3 kB / 383.7 MB, free: 8.359 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008282/0.3081, allocations: 0.8925 MB / 384.6 MB, free: 7.898 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001158/0.3093, allocations: 0.8807 MB / 385.5 MB, free: 7.445 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004482/0.3097, allocations: 393.1 kB / 385.8 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000616/0.3104, allocations: 0.5302 MB / 386.4 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001331/0.3105, allocations: 88.09 kB / 386.5 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006462/0.3112, allocations: 244 kB / 386.7 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.3113, allocations: 210.8 kB / 386.9 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004535/0.3118, allocations: 466 kB / 387.4 MB, free: 6.473 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001698/0.3135, allocations: 1.229 MB / 388.6 MB, free: 5.953 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3135, allocations: 4 kB / 388.6 MB, free: 5.949 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3135, allocations: 0 / 388.6 MB, free: 5.949 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.3136, allocations: 1.125 kB / 388.6 MB, free: 5.949 MB / 318.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.003299/0.3169, allocations: 1.429 MB / 390 MB, free: 5.105 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.3169, allocations: 9.125 kB / 390 MB, free: 5.105 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006709/0.3236, allocations: 0.9615 MB / 391 MB, free: 4.941 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007232/0.3244, allocations: 446.7 kB / 391.4 MB, free: 4.566 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.799e-05/0.3244, allocations: 77.45 kB / 391.5 MB, free: 4.531 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001725/0.3246, allocations: 111 kB / 391.6 MB, free: 4.492 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/0.3266, allocations: 1.144 MB / 392.8 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.236e-05/0.3266, allocations: 1.969 kB / 392.8 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.025e-05/0.3267, allocations: 40.34 kB / 392.8 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.948e-05/0.3267, allocations: 27.12 kB / 392.8 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002051/0.3288, allocations: 1.131 MB / 394 MB, free: 3.566 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005027/0.3338, allocations: 3.927 MB / 397.9 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00304/0.3369, allocations: 3.755 MB / 401.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005298/0.3374, allocations: 322 kB / 402 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001227/0.3376, allocations: 100.6 kB / 402.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.3376, allocations: 47.47 kB / 402.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 2.515e-06/0.3376, allocations: 0 / 402.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=71): time 0.001605/0.3392, allocations: 0.7565 MB / 402.9 MB, free: 12.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.699e-05/0.3393, allocations: 111.8 kB / 403 MB, free: 12.35 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003971/0.3397, allocations: 327.9 kB / 403.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.515e-05/0.3398, allocations: 35.95 kB / 403.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002858/0.3401, allocations: 441.2 kB / 403.8 MB, free: 11.72 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/0.3403, allocations: 247.5 kB / 404 MB, free: 11.51 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002373/0.3405, allocations: 172.4 kB / 404.2 MB, free: 11.4 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3407, allocations: 361 kB / 404.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004665/0.3411, allocations: 252.2 kB / 404.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007328/0.3419, allocations: 0.5573 MB / 405.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.3431, allocations: 0.8712 MB / 406.2 MB, free: 9.676 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/0.3432, allocations: 4.25 kB / 406.2 MB, free: 9.676 MB / 334.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001462/0.3446, allocations: 0.8997 MB / 407.1 MB, free: 9.223 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.3447, allocations: 12.88 kB / 407.1 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/0.3447, allocations: 14.22 kB / 407.1 MB, free: 9.215 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.123e-05/0.3447, allocations: 24.38 kB / 407.1 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008183/0.3456, allocations: 236.8 kB / 407.4 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.961e-05/0.3456, allocations: 23.64 kB / 407.4 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005345/0.3461, allocations: 103.2 kB / 407.5 MB, free: 9.074 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-05/0.3462, allocations: 48.83 kB / 407.5 MB, free: 9.062 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 (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.0003176/0.3465, allocations: 240.7 kB / 407.8 MB, free: 8.859 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.3467, allocations: 49.47 kB / 407.8 MB, free: 8.832 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/0.3481, allocations: 0.6794 MB / 408.5 MB, free: 8.445 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.3481, allocations: 7.531 kB / 408.5 MB, free: 8.445 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.3481, allocations: 1.469 kB / 408.5 MB, free: 8.445 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.3481, allocations: 5.234 kB / 408.5 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002904/0.351, allocations: 1.574 MB / 410.1 MB, free: 7.355 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.3511, allocations: 4.906 kB / 410.1 MB, free: 7.352 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005956/0.3517, allocations: 150.3 kB / 410.2 MB, free: 7.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.196e-05/0.3517, allocations: 2.594 kB / 410.3 MB, free: 7.32 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.726e-05/0.3517, allocations: 17.28 kB / 410.3 MB, free: 7.309 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.3517, allocations: 2.75 kB / 410.3 MB, free: 7.309 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3518, allocations: 2.625 kB / 410.3 MB, free: 7.309 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001826/0.3536, allocations: 1.167 MB / 411.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.3537, allocations: 136.4 kB / 411.6 MB, free: 6.434 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.893e-05/0.3538, allocations: 12 kB / 411.6 MB, free: 6.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003967/0.3542, allocations: 27.42 kB / 411.6 MB, free: 6.41 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.3543, allocations: 47.38 kB / 411.7 MB, free: 6.387 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.803e-05/0.3544, allocations: 21.64 kB / 411.7 MB, free: 6.379 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002148/0.3546, allocations: 211.6 kB / 411.9 MB, free: 6.234 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.894e-06/0.3546, allocations: 0 / 411.9 MB, free: 6.234 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008958/0.3555, allocations: 253 kB / 412.1 MB, free: 6.152 MB / 334.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.0002741/0.3558, allocations: 145.2 kB / 412.3 MB, free: 6.035 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001252/0.3571, allocations: 0.6883 MB / 413 MB, free: 5.742 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3571, allocations: 0 / 413 MB, free: 5.742 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005071/0.3576, allocations: 318.6 kB / 413.3 MB, free: 5.605 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000574/0.3582, allocations: 54.77 kB / 413.3 MB, free: 5.566 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002761/0.361, allocations: 1.395 MB / 414.7 MB, free: 4.594 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006672/0.3617, allocations: 0.9281 MB / 415.7 MB, free: 3.637 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000338/0.362, allocations: 92.89 kB / 415.7 MB, free: 3.543 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.3622, allocations: 55.42 kB / 415.8 MB, free: 3.488 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3622, allocations: 3.938 kB / 415.8 MB, free: 3.484 MB / 334.1 MB Notification: Performance of Templates: time 0.011/0.3732, allocations: 5.21 MB / 421 MB, free: 14.27 MB / 350.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)