Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.008103/0.008104, allocations: 103.4 kB / 15.74 MB, free: 6.008 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.00177/0.00177, allocations: 198.4 kB / 16.68 MB, free: 5.93 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.461/1.461, allocations: 205.1 MB / 222.5 MB, free: 12.21 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.002115/0.002115, allocations: 52.41 kB / 326.5 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1128, allocations: 46.61 MB / 373.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.2253/0.3381, allocations: 5.875 MB / 379 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003494/0.3417, allocations: 1.905 MB / 380.9 MB, free: 9.543 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003107/0.3421, allocations: 19.59 kB / 381 MB, free: 9.543 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00355/0.3456, allocations: 1.631 MB / 382.6 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001916/0.3475, allocations: 0.825 MB / 383.4 MB, free: 8.449 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007537/0.3483, allocations: 289.1 kB / 383.7 MB, free: 8.332 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001002/0.3493, allocations: 0.8966 MB / 384.6 MB, free: 7.867 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00125/0.3506, allocations: 0.878 MB / 385.5 MB, free: 7.414 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005129/0.3511, allocations: 391.6 kB / 385.8 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005884/0.3517, allocations: 0.5333 MB / 386.4 MB, free: 6.945 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001175/0.3518, allocations: 83.09 kB / 386.5 MB, free: 6.945 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006302/0.3525, allocations: 251.9 kB / 386.7 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001676/0.3526, allocations: 207.7 kB / 386.9 MB, free: 6.738 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004014/0.3531, allocations: 461.6 kB / 387.4 MB, free: 6.445 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001627/0.3547, allocations: 1.234 MB / 388.6 MB, free: 5.922 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.3547, allocations: 0 / 388.6 MB, free: 5.922 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3547, allocations: 0 / 388.6 MB, free: 5.922 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.499e-05/0.3547, allocations: 5.094 kB / 388.6 MB, free: 5.918 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.003361/0.3581, allocations: 1.42 MB / 390 MB, free: 5.082 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.3582, allocations: 10.25 kB / 390 MB, free: 5.082 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006809/0.365, allocations: 0.9658 MB / 391 MB, free: 4.914 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007953/0.3658, allocations: 450.1 kB / 391.4 MB, free: 4.535 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.513e-05/0.3659, allocations: 81.98 kB / 391.5 MB, free: 4.496 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/0.366, allocations: 106.9 kB / 391.6 MB, free: 4.461 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002002/0.3681, allocations: 1.133 MB / 392.8 MB, free: 3.953 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.814e-05/0.3681, allocations: 9.281 kB / 392.8 MB, free: 3.945 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.23e-05/0.3682, allocations: 45.16 kB / 392.8 MB, free: 3.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.694e-05/0.3682, allocations: 26.09 kB / 392.8 MB, free: 3.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002047/0.3703, allocations: 1.132 MB / 394 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005165/0.3755, allocations: 3.926 MB / 397.9 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003101/0.3786, allocations: 3.751 MB / 401.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005281/0.3791, allocations: 317.9 kB / 402 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001194/0.3793, allocations: 104.5 kB / 402.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/0.3793, allocations: 44.28 kB / 402.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 3.567e-06/0.3793, allocations: 0 / 402.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=71): time 0.001655/0.381, allocations: 0.7558 MB / 402.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.014e-05/0.3811, allocations: 119.8 kB / 403 MB, free: 12.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004359/0.3815, allocations: 329 kB / 403.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.507e-05/0.3816, allocations: 40.73 kB / 403.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003196/0.3819, allocations: 437.2 kB / 403.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000179/0.3821, allocations: 247.9 kB / 404 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002517/0.3823, allocations: 168 kB / 404.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3825, allocations: 356.1 kB / 404.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004643/0.383, allocations: 249 kB / 404.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006876/0.3836, allocations: 0.5608 MB / 405.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/0.3849, allocations: 0.8802 MB / 406.2 MB, free: 9.633 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.3849, allocations: 6.188 kB / 406.2 MB, free: 9.629 MB / 334.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001494/0.3864, allocations: 0.8922 MB / 407.1 MB, free: 9.184 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.3864, allocations: 13.56 kB / 407.1 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/0.3865, allocations: 10.09 kB / 407.1 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.092e-05/0.3865, allocations: 20.91 kB / 407.1 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007749/0.3873, allocations: 240.3 kB / 407.4 MB, free: 9.117 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.563e-05/0.3873, allocations: 24.53 kB / 407.4 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000525/0.3879, allocations: 107.4 kB / 407.5 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.374e-05/0.3879, allocations: 43.84 kB / 407.5 MB, free: 9.027 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.0003018/0.3882, allocations: 237.3 kB / 407.8 MB, free: 8.828 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.3884, allocations: 57.17 kB / 407.8 MB, free: 8.793 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/0.3896, allocations: 0.675 MB / 408.5 MB, free: 8.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.3896, allocations: 12.72 kB / 408.5 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.3896, allocations: 5.438 kB / 408.5 MB, free: 8.402 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.3896, allocations: 3.984 kB / 408.5 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002311/0.392, allocations: 1.564 MB / 410.1 MB, free: 7.324 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.392, allocations: 3.938 kB / 410.1 MB, free: 7.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005726/0.3925, allocations: 162.2 kB / 410.3 MB, free: 7.277 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.3926, allocations: 2.75 kB / 410.3 MB, free: 7.277 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.935e-05/0.3926, allocations: 17.11 kB / 410.3 MB, free: 7.266 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.3926, allocations: 2.938 kB / 410.3 MB, free: 7.266 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.3926, allocations: 2.844 kB / 410.3 MB, free: 7.266 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/0.3941, allocations: 1.164 MB / 411.4 MB, free: 6.531 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.3942, allocations: 139.4 kB / 411.6 MB, free: 6.391 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-05/0.3943, allocations: 12.03 kB / 411.6 MB, free: 6.383 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003516/0.3947, allocations: 26.45 kB / 411.6 MB, free: 6.367 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.631e-05/0.3948, allocations: 46.47 kB / 411.7 MB, free: 6.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.309e-05/0.3948, allocations: 19 kB / 411.7 MB, free: 6.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002337/0.3951, allocations: 218.3 kB / 411.9 MB, free: 6.188 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3951, allocations: 0 / 411.9 MB, free: 6.188 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009032/0.396, allocations: 247.8 kB / 412.1 MB, free: 6.113 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.0002879/0.3963, allocations: 142.6 kB / 412.3 MB, free: 5.996 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00118/0.3975, allocations: 0.6919 MB / 413 MB, free: 5.699 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3975, allocations: 0 / 413 MB, free: 5.699 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004705/0.398, allocations: 319.2 kB / 413.3 MB, free: 5.562 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005318/0.3985, allocations: 51.17 kB / 413.3 MB, free: 5.527 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002211/0.4007, allocations: 1.396 MB / 414.7 MB, free: 4.547 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004404/0.4012, allocations: 0.9281 MB / 415.7 MB, free: 3.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003172/0.4015, allocations: 96.88 kB / 415.7 MB, free: 3.492 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/0.4017, allocations: 55.38 kB / 415.8 MB, free: 3.438 MB / 334.1 MB Notification: Performance of SimCode: time 4.3e-07/0.4017, allocations: 3.938 kB / 415.8 MB, free: 3.434 MB / 334.1 MB Notification: Performance of Templates: time 0.01102/0.4127, allocations: 5.214 MB / 421 MB, free: 14.22 MB / 350.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.makefile (rm -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.sim & ./Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe 2>&1)