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.0009971/0.0009971, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.007973/0.007973, allocations: 168.7 kB / 16.26 MB, free: 6.652 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.441/1.441, allocations: 205.4 MB / 222.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.0005009/0.0005011, allocations: 11.98 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2347, allocations: 47.58 MB / 327 MB, free: 1.438 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.006203/0.241, allocations: 5.37 MB / 332.4 MB, free: 13.15 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003979/0.245, allocations: 1.858 MB / 334.3 MB, free: 11.64 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008172/0.2459, allocations: 22.62 kB / 334.3 MB, free: 11.64 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009549/0.2468, allocations: 283.1 kB / 334.6 MB, free: 11.46 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002375/0.2492, allocations: 0.7504 MB / 335.3 MB, free: 10.9 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000866/0.2501, allocations: 251.3 kB / 335.6 MB, free: 10.71 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001345/0.2515, allocations: 0.8554 MB / 336.4 MB, free: 9.973 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00284/0.2543, allocations: 1.673 MB / 338.1 MB, free: 8.254 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005044/0.2548, allocations: 322.5 kB / 338.4 MB, free: 7.938 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000537/0.2554, allocations: 481.9 kB / 338.9 MB, free: 7.465 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.984e-05/0.2555, allocations: 44 kB / 338.9 MB, free: 7.422 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005559/0.256, allocations: 203.8 kB / 339.1 MB, free: 7.223 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.2562, allocations: 159.2 kB / 339.3 MB, free: 7.066 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003523/0.2565, allocations: 427.5 kB / 339.7 MB, free: 6.641 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.2577, allocations: 1.171 MB / 340.9 MB, free: 5.465 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2577, allocations: 4 kB / 340.9 MB, free: 5.461 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2578, allocations: 0 / 340.9 MB, free: 5.461 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.2578, allocations: 0 / 340.9 MB, free: 5.461 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.003118/0.2609, allocations: 1.241 MB / 342.1 MB, free: 4.168 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.261, allocations: 8.031 kB / 342.1 MB, free: 4.16 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006874/0.2678, allocations: 0.9715 MB / 343.1 MB, free: 3.188 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006546/0.2685, allocations: 451 kB / 343.5 MB, free: 2.707 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.027e-05/0.2686, allocations: 86.55 kB / 343.6 MB, free: 2.621 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/0.2687, allocations: 100.4 kB / 343.7 MB, free: 2.523 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/0.2706, allocations: 1.137 MB / 344.8 MB, free: 1.348 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.159e-05/0.2707, allocations: 3.938 kB / 344.8 MB, free: 1.344 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.7e-05/0.2708, allocations: 44 kB / 344.9 MB, free: 1.301 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.448e-05/0.2708, allocations: 28 kB / 344.9 MB, free: 1.273 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001811/0.2726, allocations: 1.144 MB / 346.1 MB, free: 136 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005165/0.2778, allocations: 3.972 MB / 350 MB, free: 11.92 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003239/0.2811, allocations: 3.76 MB / 353.8 MB, free: 7.484 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004834/0.2816, allocations: 328.5 kB / 354.1 MB, free: 7.156 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/0.2817, allocations: 101.6 kB / 354.2 MB, free: 7.039 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.2817, allocations: 47.06 kB / 354.3 MB, free: 6.984 MB / 286.1 MB Notification: Performance of pre-optimization done (n=71): time 4.689e-06/0.2817, allocations: 0 / 354.3 MB, free: 6.984 MB / 286.1 MB Notification: Performance of matching and sorting (n=71): time 0.001474/0.2832, allocations: 0.7797 MB / 355 MB, free: 6.199 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.266e-05/0.2833, allocations: 111.4 kB / 355.1 MB, free: 6.066 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003477/0.2837, allocations: 328.2 kB / 355.5 MB, free: 5.734 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.293e-05/0.2837, allocations: 41.7 kB / 355.5 MB, free: 5.688 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/0.284, allocations: 437.9 kB / 355.9 MB, free: 5.25 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/0.2841, allocations: 244.5 kB / 356.2 MB, free: 5.008 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.65e-05/0.2842, allocations: 81.67 kB / 356.3 MB, free: 4.922 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.2844, allocations: 354.8 kB / 356.6 MB, free: 4.566 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004558/0.2848, allocations: 253.9 kB / 356.8 MB, free: 4.32 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006783/0.2855, allocations: 0.567 MB / 357.4 MB, free: 3.609 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.2867, allocations: 0.8832 MB / 358.3 MB, free: 2.582 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/0.2867, allocations: 4 kB / 358.3 MB, free: 2.578 MB / 286.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001415/0.2881, allocations: 0.9026 MB / 359.2 MB, free: 1.668 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.2882, allocations: 15.94 kB / 359.2 MB, free: 1.652 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.2882, allocations: 8.75 kB / 359.2 MB, free: 1.645 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.592e-05/0.2882, allocations: 23.98 kB / 359.3 MB, free: 1.621 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007895/0.289, allocations: 235.6 kB / 359.5 MB, free: 1.391 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.261e-05/0.289, allocations: 23.92 kB / 359.5 MB, free: 1.367 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004747/0.2895, allocations: 103 kB / 359.6 MB, free: 1.266 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.69e-05/0.2896, allocations: 47.98 kB / 359.7 MB, free: 1.219 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003306/0.2899, allocations: 249.4 kB / 359.9 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.2901, allocations: 47.38 kB / 359.9 MB, free: 0.918 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00125/0.2913, allocations: 0.6901 MB / 360.6 MB, free: 224 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.956e-06/0.2913, allocations: 8 kB / 360.6 MB, free: 216 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.2913, allocations: 0 / 360.6 MB, free: 216 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.415e-06/0.2914, allocations: 7.984 kB / 360.6 MB, free: 208 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002265/0.2936, allocations: 1.602 MB / 362.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.2936, allocations: 3.938 kB / 362.3 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005843/0.2942, allocations: 155.8 kB / 362.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.2943, allocations: 4 kB / 362.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.317e-05/0.2943, allocations: 12 kB / 362.4 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.2943, allocations: 4 kB / 362.4 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.2943, allocations: 0 / 362.4 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001564/0.2959, allocations: 1.181 MB / 363.6 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.751e-05/0.296, allocations: 136.3 kB / 363.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.43e-05/0.2961, allocations: 16 kB / 363.8 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003571/0.2964, allocations: 24.06 kB / 363.8 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.985e-05/0.2965, allocations: 52.58 kB / 363.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.618e-05/0.2966, allocations: 27.94 kB / 363.9 MB, free: 12.9 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001985/0.2968, allocations: 211.1 kB / 364.1 MB, free: 12.7 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2968, allocations: 0 / 364.1 MB, free: 12.7 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007754/0.2976, allocations: 243.1 kB / 364.3 MB, free: 12.46 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.0002272/0.2978, allocations: 147.1 kB / 364.4 MB, free: 12.3 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001115/0.2989, allocations: 0.7058 MB / 365.1 MB, free: 11.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2989, allocations: 0 / 365.1 MB, free: 11.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004598/0.2994, allocations: 324.8 kB / 365.5 MB, free: 11.28 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006045/0.3, allocations: 49.03 kB / 365.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/0.3023, allocations: 1.863 MB / 367.4 MB, free: 9.336 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000452/0.3028, allocations: 0.9244 MB / 368.3 MB, free: 8.387 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003849/0.3032, allocations: 92.83 kB / 368.4 MB, free: 8.293 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.3033, allocations: 59.42 kB / 368.5 MB, free: 8.234 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3033, allocations: 0 / 368.5 MB, free: 8.234 MB / 302.1 MB Notification: Performance of Templates: time 0.009515/0.3129, allocations: 4.792 MB / 373.2 MB, free: 3.438 MB / 302.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)