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.001306/0.001306, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001549/0.001549, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.487/1.487, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.0006303/0.0006304, allocations: 16 kB / 278.9 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2769, allocations: 47.59 MB / 326.5 MB, free: 1.688 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.005088/0.2821, allocations: 4.716 MB / 331.2 MB, free: 14.01 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004087/0.2862, allocations: 1.757 MB / 332.9 MB, free: 12.59 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004255/0.2867, allocations: 18.22 kB / 332.9 MB, free: 12.59 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005644/0.2872, allocations: 213.3 kB / 333.1 MB, free: 12.43 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001696/0.2889, allocations: 0.7118 MB / 333.9 MB, free: 11.89 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006515/0.2896, allocations: 237.2 kB / 334.1 MB, free: 11.71 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009766/0.2906, allocations: 0.613 MB / 334.7 MB, free: 11.33 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002577/0.2932, allocations: 1.455 MB / 336.2 MB, free: 9.891 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004929/0.2937, allocations: 318.7 kB / 336.5 MB, free: 9.578 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004954/0.2942, allocations: 426.3 kB / 336.9 MB, free: 9.16 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.999e-05/0.2943, allocations: 44 kB / 336.9 MB, free: 9.117 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004946/0.2948, allocations: 175.8 kB / 337.1 MB, free: 8.945 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.2949, allocations: 151.4 kB / 337.3 MB, free: 8.797 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.295, allocations: 177.2 kB / 337.4 MB, free: 8.617 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008926/0.2959, allocations: 0.9425 MB / 338.4 MB, free: 7.672 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.296, allocations: 0 / 338.4 MB, free: 7.672 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.296, allocations: 0 / 338.4 MB, free: 7.672 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.296, allocations: 0 / 338.4 MB, free: 7.672 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.003111/0.2991, allocations: 1.249 MB / 339.6 MB, free: 6.371 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.2991, allocations: 8.031 kB / 339.6 MB, free: 6.363 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00679/0.3059, allocations: 0.9706 MB / 340.6 MB, free: 5.391 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008522/0.3068, allocations: 449.7 kB / 341 MB, free: 4.91 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.169e-05/0.3069, allocations: 82.16 kB / 341.1 MB, free: 4.828 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/0.3071, allocations: 108 kB / 341.2 MB, free: 4.723 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001952/0.309, allocations: 1.105 MB / 342.3 MB, free: 3.578 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.537e-05/0.3091, allocations: 11.89 kB / 342.3 MB, free: 3.566 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-05/0.3092, allocations: 47.94 kB / 342.4 MB, free: 3.52 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.988e-05/0.3092, allocations: 35.94 kB / 342.4 MB, free: 3.484 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001838/0.3111, allocations: 1.136 MB / 343.6 MB, free: 2.352 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005447/0.3165, allocations: 3.965 MB / 347.5 MB, free: 14.14 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003425/0.32, allocations: 3.759 MB / 351.3 MB, free: 9.715 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001237/0.3201, allocations: 97.64 kB / 351.4 MB, free: 9.602 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.3202, allocations: 39.12 kB / 351.4 MB, free: 9.555 MB / 286.1 MB Notification: Performance of pre-optimization done (n=71): time 2.966e-06/0.3202, allocations: 0 / 351.4 MB, free: 9.555 MB / 286.1 MB Notification: Performance of matching and sorting (n=71): time 0.001417/0.3216, allocations: 0.7603 MB / 352.2 MB, free: 8.789 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.766e-05/0.3217, allocations: 119.3 kB / 352.3 MB, free: 8.645 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003435/0.3221, allocations: 332.3 kB / 352.6 MB, free: 8.316 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.723e-05/0.3221, allocations: 33.7 kB / 352.6 MB, free: 8.277 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002875/0.3224, allocations: 445.9 kB / 353.1 MB, free: 7.832 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001808/0.3226, allocations: 240.5 kB / 353.3 MB, free: 7.594 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.374e-05/0.3226, allocations: 20 kB / 353.3 MB, free: 7.574 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.3228, allocations: 358.7 kB / 353.7 MB, free: 7.215 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004269/0.3232, allocations: 249.9 kB / 353.9 MB, free: 6.969 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006567/0.3239, allocations: 0.5591 MB / 354.5 MB, free: 6.266 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005601/0.3245, allocations: 339.1 kB / 354.8 MB, free: 5.934 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.3245, allocations: 0 / 354.8 MB, free: 5.934 MB / 286.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00135/0.3259, allocations: 0.9104 MB / 355.7 MB, free: 5.016 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.3259, allocations: 8 kB / 355.7 MB, free: 5.008 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.3259, allocations: 12 kB / 355.7 MB, free: 4.996 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.027e-05/0.3259, allocations: 16 kB / 355.8 MB, free: 4.98 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007738/0.3267, allocations: 244.3 kB / 356 MB, free: 4.742 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.426e-05/0.3268, allocations: 19.94 kB / 356 MB, free: 4.723 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004714/0.3272, allocations: 107 kB / 356.1 MB, free: 4.617 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-05/0.3273, allocations: 47.98 kB / 356.2 MB, free: 4.57 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.0003489/0.3277, allocations: 241.4 kB / 356.4 MB, free: 4.324 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.3278, allocations: 43.44 kB / 356.5 MB, free: 4.281 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/0.329, allocations: 0.6978 MB / 357.2 MB, free: 3.578 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.329, allocations: 8 kB / 357.2 MB, free: 3.57 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.3291, allocations: 0 / 357.2 MB, free: 3.57 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.3291, allocations: 3.984 kB / 357.2 MB, free: 3.566 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00244/0.3315, allocations: 1.598 MB / 358.8 MB, free: 1.914 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.3315, allocations: 4 kB / 358.8 MB, free: 1.91 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005866/0.3321, allocations: 147.8 kB / 358.9 MB, free: 1.766 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.3321, allocations: 8 kB / 358.9 MB, free: 1.758 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.749e-05/0.3322, allocations: 15.98 kB / 358.9 MB, free: 1.742 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.3322, allocations: 4 kB / 358.9 MB, free: 1.738 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.3322, allocations: 4 kB / 358.9 MB, free: 1.734 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00162/0.3338, allocations: 1.192 MB / 360.1 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.334, allocations: 128.4 kB / 360.3 MB, free: 376 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.344e-05/0.3341, allocations: 23.98 kB / 360.3 MB, free: 352 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003479/0.3344, allocations: 24 kB / 360.3 MB, free: 328 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.992e-05/0.3345, allocations: 56.52 kB / 360.4 MB, free: 272 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.805e-05/0.3346, allocations: 27.94 kB / 360.4 MB, free: 244 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002037/0.3348, allocations: 211.1 kB / 360.6 MB, free: 36 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3348, allocations: 0 / 360.6 MB, free: 36 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0009085/0.3357, allocations: 243.2 kB / 360.8 MB, free: 15.79 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.0002581/0.336, allocations: 143 kB / 361 MB, free: 15.64 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001144/0.3371, allocations: 0.6903 MB / 361.7 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3372, allocations: 0 / 361.7 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004693/0.3376, allocations: 332.7 kB / 362 MB, free: 14.63 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/0.338, allocations: 29.08 kB / 362 MB, free: 14.6 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002367/0.3404, allocations: 1.731 MB / 363.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005246/0.341, allocations: 0.9439 MB / 364.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003844/0.3414, allocations: 96.88 kB / 364.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.3415, allocations: 55.44 kB / 364.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of SimCode: time 9.11e-07/0.3415, allocations: 0 / 364.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of Templates: time 0.009794/0.3513, allocations: 4.644 MB / 369.5 MB, free: 7.062 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: