Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.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.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01017/0.01017, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.0016/0.001601, allocations: 188.6 kB / 16.67 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.673/1.673, allocations: 205.1 MB / 222.5 MB, free: 12.22 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.001748/0.001748, allocations: 51.91 kB / 326.5 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1577, allocations: 46.61 MB / 373.2 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.007582/0.1654, allocations: 3.726 MB / 376.9 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.361/0.5265, allocations: 1.063 MB / 377.9 MB, free: 9.73 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008534/0.5274, allocations: 16.22 kB / 378 MB, free: 9.73 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006299/0.5282, allocations: 157.3 kB / 378.1 MB, free: 9.73 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001515/0.5297, allocations: 296 kB / 378.4 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004815/0.5302, allocations: 137.7 kB / 378.5 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002415/0.5326, allocations: 1.451 MB / 380 MB, free: 9.477 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002423/0.535, allocations: 1.147 MB / 381.1 MB, free: 9.254 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001454/0.5365, allocations: 0.6383 MB / 381.8 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00136/0.5379, allocations: 0.7668 MB / 382.5 MB, free: 8.828 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003207/0.5382, allocations: 163.4 kB / 382.7 MB, free: 8.824 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000371/0.5386, allocations: 158.8 kB / 382.9 MB, free: 8.824 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000669/0.5393, allocations: 469.6 kB / 383.3 MB, free: 8.582 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001253/0.5405, allocations: 0.7386 MB / 384 MB, free: 8.117 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003985/0.5445, allocations: 2.06 MB / 386.1 MB, free: 7.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.098e-05/0.5446, allocations: 0 / 386.1 MB, free: 7.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.5446, allocations: 3.938 kB / 386.1 MB, free: 7.426 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.444e-05/0.5446, allocations: 1.188 kB / 386.1 MB, free: 7.426 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.004311/0.5489, allocations: 1.681 MB / 387.8 MB, free: 6.414 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.369e-05/0.549, allocations: 9 kB / 387.8 MB, free: 6.414 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003532/0.5494, allocations: 144.9 kB / 387.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001676/0.5511, allocations: 0.8296 MB / 388.8 MB, free: 5.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.6e-05/0.5512, allocations: 83.59 kB / 388.9 MB, free: 5.801 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002392/0.5514, allocations: 113.3 kB / 389 MB, free: 5.762 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004029/0.5555, allocations: 1.563 MB / 390.5 MB, free: 5.141 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.449e-05/0.5555, allocations: 0.7969 kB / 390.5 MB, free: 5.141 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/0.5557, allocations: 51.84 kB / 390.6 MB, free: 5.102 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-05/0.5557, allocations: 27.78 kB / 390.6 MB, free: 5.102 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003195/0.5589, allocations: 1.33 MB / 391.9 MB, free: 4.645 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008355/0.5673, allocations: 4.27 MB / 396.2 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.5685, allocations: 1.335 MB / 397.5 MB, free: 1.184 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009075/0.5694, allocations: 0.5224 MB / 398.1 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.453e-05/0.5695, allocations: 6.156 kB / 398.1 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.5695, allocations: 38.16 kB / 398.1 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of pre-optimization done (n=51): time 3.576e-06/0.5696, allocations: 0 / 398.1 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of matching and sorting (n=51): time 0.001689/0.5712, allocations: 0.8745 MB / 399 MB, free: 448 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.5713, allocations: 56.69 kB / 399 MB, free: 384 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001477/0.5728, allocations: 0.8241 MB / 399.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.195e-05/0.5729, allocations: 36.95 kB / 399.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005364/0.5734, allocations: 0.5425 MB / 400.4 MB, free: 15.4 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001932/0.5736, allocations: 184.7 kB / 400.6 MB, free: 15.24 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002181/0.5738, allocations: 102.8 kB / 400.7 MB, free: 15.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002562/0.5741, allocations: 388.1 kB / 401.1 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005145/0.5746, allocations: 308.1 kB / 401.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006235/0.5753, allocations: 394.2 kB / 401.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.5764, allocations: 0.6922 MB / 402.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.5764, allocations: 0 / 402.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00151/0.5779, allocations: 0.8208 MB / 403.3 MB, free: 13.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/0.5779, allocations: 5.531 kB / 403.3 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.5779, allocations: 6.062 kB / 403.3 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/0.578, allocations: 5.094 kB / 403.3 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006898/0.5787, allocations: 148.6 kB / 403.5 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.948e-05/0.5787, allocations: 4.344 kB / 403.5 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005615/0.5793, allocations: 60.19 kB / 403.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.465e-05/0.5793, allocations: 25.92 kB / 403.5 MB, free: 13.48 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (69): * Single equations (assignments): 69 * 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.001076/0.5804, allocations: 462.2 kB / 404 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/0.5806, allocations: 75.44 kB / 404.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00019/0.5808, allocations: 97.38 kB / 404.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.5808, allocations: 9.25 kB / 404.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.729e-05/0.5808, allocations: 0 / 404.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.5809, allocations: 0 / 404.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003545/0.5844, allocations: 1.939 MB / 406.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.5844, allocations: 1.156 kB / 406.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005088/0.5849, allocations: 121.9 kB / 406.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/0.585, allocations: 3.875 kB / 406.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.726e-05/0.585, allocations: 12.53 kB / 406.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.806e-06/0.585, allocations: 6.516 kB / 406.3 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.585, allocations: 2.562 kB / 406.3 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.5868, allocations: 1.128 MB / 407.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002828/0.5871, allocations: 170.1 kB / 407.6 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.343e-05/0.5872, allocations: 12.47 kB / 407.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004865/0.5876, allocations: 51.55 kB / 407.6 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.5878, allocations: 42.44 kB / 407.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.873e-05/0.5878, allocations: 22.73 kB / 407.7 MB, free: 10.87 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008738/0.5887, allocations: 0.5873 MB / 408.3 MB, free: 10.54 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5887, allocations: 1.281 kB / 408.3 MB, free: 10.54 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009591/0.5897, allocations: 283.6 kB / 408.5 MB, free: 10.46 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (transformerL.inductor[1].i,transformerL.inductor[2].i,transformerL.inductor[3].i) * 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 (52): * Single equations (assignments): 52 * 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.0001809/0.5899, allocations: 110.4 kB / 408.7 MB, free: 10.36 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001113/0.591, allocations: 0.6494 MB / 409.3 MB, free: 9.773 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.591, allocations: 8.5 kB / 409.3 MB, free: 9.766 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004182/0.5914, allocations: 326.2 kB / 409.6 MB, free: 9.449 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008167/0.5923, allocations: 177.6 kB / 409.8 MB, free: 9.285 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003503/0.5958, allocations: 2.284 MB / 412.1 MB, free: 6.953 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009715/0.5968, allocations: 1.336 MB / 413.4 MB, free: 5.586 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004986/0.5973, allocations: 209.8 kB / 413.6 MB, free: 5.379 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.5974, allocations: 55.38 kB / 413.7 MB, free: 5.324 MB / 334.1 MB Notification: Performance of SimCode: time 7.62e-07/0.5974, allocations: 0 / 413.7 MB, free: 5.324 MB / 334.1 MB Notification: Performance of Templates: time 0.01855/0.616, allocations: 10.15 MB / 423.8 MB, free: 11.18 MB / 350.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.makefile (rm -f Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & ./Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1)