Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001126/0.001126, allocations: 87.88 kB / 16.31 MB, free: 6.453 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.001284/0.001284, allocations: 178.3 kB / 17.21 MB, free: 6.328 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.571/1.571, allocations: 205.4 MB / 223.4 MB, free: 5.57 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.0004737/0.0004737, allocations: 12 kB / 280.1 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2562, allocations: 47.58 MB / 327.7 MB, free: 1.441 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.005257/0.2615, allocations: 5.023 MB / 332.7 MB, free: 13.48 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003783/0.2653, allocations: 1.727 MB / 334.5 MB, free: 12.07 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005351/0.2658, allocations: 18.75 kB / 334.5 MB, free: 12.07 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006614/0.2665, allocations: 206.8 kB / 334.7 MB, free: 11.91 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00176/0.2683, allocations: 0.688 MB / 335.4 MB, free: 11.39 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006072/0.2689, allocations: 226.8 kB / 335.6 MB, free: 11.22 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009643/0.2699, allocations: 0.8231 MB / 336.4 MB, free: 10.72 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002712/0.2726, allocations: 1.489 MB / 337.9 MB, free: 9.262 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000596/0.2732, allocations: 314.7 kB / 338.2 MB, free: 8.953 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005718/0.2738, allocations: 462.2 kB / 338.7 MB, free: 8.5 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.765e-05/0.2739, allocations: 44 kB / 338.7 MB, free: 8.457 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006523/0.2745, allocations: 187.8 kB / 338.9 MB, free: 8.273 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.2747, allocations: 155.3 kB / 339.1 MB, free: 8.121 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001867/0.2749, allocations: 173.3 kB / 339.2 MB, free: 7.945 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.2759, allocations: 0.9503 MB / 340.2 MB, free: 6.992 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.2759, allocations: 0 / 340.2 MB, free: 6.992 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.276, allocations: 0 / 340.2 MB, free: 6.992 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.276, allocations: 4 kB / 340.2 MB, free: 6.988 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.003017/0.279, allocations: 1.245 MB / 341.4 MB, free: 5.691 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.279, allocations: 8.031 kB / 341.4 MB, free: 5.684 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006493/0.2855, allocations: 0.9745 MB / 342.4 MB, free: 4.707 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009219/0.2865, allocations: 453.6 kB / 342.8 MB, free: 4.223 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.171e-05/0.2866, allocations: 86.17 kB / 342.9 MB, free: 4.137 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001604/0.2868, allocations: 104 kB / 343 MB, free: 4.035 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002016/0.2888, allocations: 1.121 MB / 344.2 MB, free: 2.875 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.277e-05/0.2888, allocations: 3.906 kB / 344.2 MB, free: 2.871 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.481e-05/0.2889, allocations: 47.94 kB / 344.2 MB, free: 2.824 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.588e-05/0.289, allocations: 31.98 kB / 344.2 MB, free: 2.793 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/0.291, allocations: 1.14 MB / 345.4 MB, free: 1.656 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005389/0.2964, allocations: 3.957 MB / 349.3 MB, free: 13.46 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003044/0.2994, allocations: 3.763 MB / 353.1 MB, free: 9.023 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000474/0.2999, allocations: 320.6 kB / 353.4 MB, free: 8.699 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001047/0.3001, allocations: 97.64 kB / 353.5 MB, free: 8.586 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.3001, allocations: 43.12 kB / 353.5 MB, free: 8.535 MB / 286.1 MB Notification: Performance of pre-optimization done (n=71): time 3.597e-06/0.3001, allocations: 0 / 353.5 MB, free: 8.535 MB / 286.1 MB Notification: Performance of matching and sorting (n=71): time 0.001441/0.3016, allocations: 0.7642 MB / 354.3 MB, free: 7.766 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.677e-05/0.3016, allocations: 111.4 kB / 354.4 MB, free: 7.633 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003711/0.302, allocations: 328.2 kB / 354.7 MB, free: 7.309 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.448e-05/0.3021, allocations: 33.7 kB / 354.8 MB, free: 7.27 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003055/0.3024, allocations: 450 kB / 355.2 MB, free: 6.82 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002002/0.3026, allocations: 252.5 kB / 355.5 MB, free: 6.57 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.3026, allocations: 19.94 kB / 355.5 MB, free: 6.551 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.3028, allocations: 354.8 kB / 355.8 MB, free: 6.195 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004398/0.3033, allocations: 249.9 kB / 356.1 MB, free: 5.949 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006851/0.3039, allocations: 0.563 MB / 356.6 MB, free: 5.242 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005593/0.3045, allocations: 335.1 kB / 357 MB, free: 4.914 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.3045, allocations: 3.938 kB / 357 MB, free: 4.91 MB / 286.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001382/0.3059, allocations: 0.8991 MB / 357.9 MB, free: 4.004 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.306, allocations: 8 kB / 357.9 MB, free: 3.996 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.306, allocations: 12 kB / 357.9 MB, free: 3.984 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.467e-05/0.306, allocations: 16 kB / 357.9 MB, free: 3.969 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007644/0.3068, allocations: 240.1 kB / 358.1 MB, free: 3.734 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.616e-05/0.3068, allocations: 27.92 kB / 358.2 MB, free: 3.707 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000453/0.3073, allocations: 103 kB / 358.3 MB, free: 3.605 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-05/0.3074, allocations: 51.92 kB / 358.3 MB, free: 3.555 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003711/0.3077, allocations: 245.4 kB / 358.5 MB, free: 3.305 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.3079, allocations: 43.44 kB / 358.6 MB, free: 3.262 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00128/0.3091, allocations: 0.69 MB / 359.3 MB, free: 2.566 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.3092, allocations: 8 kB / 359.3 MB, free: 2.559 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.3092, allocations: 0 / 359.3 MB, free: 2.559 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.3092, allocations: 3.984 kB / 359.3 MB, free: 2.555 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002408/0.3116, allocations: 1.602 MB / 360.9 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.3116, allocations: 4 kB / 360.9 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005589/0.3122, allocations: 151.8 kB / 361 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.846e-06/0.3122, allocations: 4 kB / 361.1 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.668e-05/0.3123, allocations: 16 kB / 361.1 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.3123, allocations: 4 kB / 361.1 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.3123, allocations: 7.938 kB / 361.1 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.3139, allocations: 1.177 MB / 362.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.314, allocations: 136.4 kB / 362.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.37e-05/0.3141, allocations: 16 kB / 362.4 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003212/0.3144, allocations: 20 kB / 362.4 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.913e-05/0.3145, allocations: 56.64 kB / 362.5 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.603e-05/0.3146, allocations: 20 kB / 362.5 MB, free: 15.25 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002116/0.3148, allocations: 207.1 kB / 362.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3148, allocations: 0 / 362.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008953/0.3157, allocations: 247.1 kB / 362.9 MB, free: 14.81 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000269/0.316, allocations: 143.1 kB / 363.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001152/0.3171, allocations: 0.6949 MB / 363.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3171, allocations: 320 / 363.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004521/0.3176, allocations: 327.6 kB / 364.1 MB, free: 13.65 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005568/0.3182, allocations: 49.05 kB / 364.1 MB, free: 13.6 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002637/0.3208, allocations: 1.778 MB / 365.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006369/0.3215, allocations: 0.9244 MB / 366.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004638/0.3219, allocations: 88.89 kB / 366.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.3221, allocations: 55.42 kB / 367 MB, free: 10.69 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3221, allocations: 0 / 367 MB, free: 10.69 MB / 302.1 MB Notification: Performance of Templates: time 0.01039/0.3325, allocations: 4.671 MB / 371.7 MB, free: 6.016 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe 2>&1)