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.006935/0.006935, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001179/0.001179, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.581/1.581, allocations: 205.1 MB / 222.5 MB, free: 4.383 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.001201/0.001201, allocations: 50.48 kB / 326.5 MB, free: 14.46 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1272, allocations: 46.63 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.005818/0.133, allocations: 3.727 MB / 376.9 MB, free: 13.55 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002591/0.1357, allocations: 1.064 MB / 378 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002763/0.1359, allocations: 19.88 kB / 378 MB, free: 12.46 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004087/0.1364, allocations: 150.8 kB / 378.1 MB, free: 12.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008882/0.1373, allocations: 286.4 kB / 378.4 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000291/0.1376, allocations: 139.7 kB / 378.5 MB, free: 11.9 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00153/0.1391, allocations: 1.455 MB / 380 MB, free: 10.44 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001335/0.1405, allocations: 1.146 MB / 381.1 MB, free: 9.254 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000845/0.1413, allocations: 0.6346 MB / 381.8 MB, free: 8.617 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.1425, allocations: 0.7744 MB / 382.5 MB, free: 7.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002136/0.1427, allocations: 160 kB / 382.7 MB, free: 7.684 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002465/0.1429, allocations: 160 kB / 382.9 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004922/0.1434, allocations: 462.8 kB / 383.3 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008916/0.1443, allocations: 0.7389 MB / 384 MB, free: 6.332 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001979/0.1463, allocations: 2.064 MB / 386.1 MB, free: 4.262 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.1463, allocations: 0 / 386.1 MB, free: 4.262 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.1464, allocations: 0 / 386.1 MB, free: 4.262 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.778e-05/0.1464, allocations: 0 / 386.1 MB, free: 4.262 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.003388/0.1498, allocations: 1.676 MB / 387.8 MB, free: 2.531 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/0.1499, allocations: 16.03 kB / 387.8 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000263/0.1501, allocations: 139.2 kB / 387.9 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/0.1516, allocations: 0.8306 MB / 388.8 MB, free: 1.508 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.162e-05/0.1517, allocations: 90.38 kB / 388.9 MB, free: 1.418 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001754/0.1519, allocations: 108 kB / 389 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002623/0.1545, allocations: 1.568 MB / 390.5 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.275e-05/0.1545, allocations: 4 kB / 390.5 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/0.1547, allocations: 47.98 kB / 390.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.781e-05/0.1547, allocations: 28 kB / 390.6 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002198/0.1569, allocations: 1.328 MB / 391.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007024/0.1639, allocations: 4.267 MB / 396.2 MB, free: 9.887 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/0.1653, allocations: 1.33 MB / 397.5 MB, free: 8.383 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008747/0.1662, allocations: 0.5222 MB / 398.1 MB, free: 7.859 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.731e-05/0.1663, allocations: 8.438 kB / 398.1 MB, free: 7.852 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.409e-05/0.1663, allocations: 35 kB / 398.1 MB, free: 7.805 MB / 334.1 MB Notification: Performance of pre-optimization done (n=51): time 3.457e-06/0.1663, allocations: 4 kB / 398.1 MB, free: 7.801 MB / 334.1 MB Notification: Performance of matching and sorting (n=51): time 0.001711/0.168, allocations: 0.8768 MB / 399 MB, free: 6.918 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.096e-05/0.1681, allocations: 59.78 kB / 399 MB, free: 6.848 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.1694, allocations: 0.8281 MB / 399.9 MB, free: 6.008 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.219e-05/0.1694, allocations: 37.7 kB / 399.9 MB, free: 5.965 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004428/0.1699, allocations: 0.5376 MB / 400.4 MB, free: 5.418 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.17, allocations: 173.5 kB / 400.6 MB, free: 5.246 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/0.1703, allocations: 114.1 kB / 400.7 MB, free: 5.129 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000287/0.1706, allocations: 378.8 kB / 401.1 MB, free: 4.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005929/0.1712, allocations: 300.9 kB / 401.4 MB, free: 4.457 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005202/0.1717, allocations: 394.5 kB / 401.8 MB, free: 4.039 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009675/0.1727, allocations: 0.6941 MB / 402.5 MB, free: 3.312 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1727, allocations: 3.938 kB / 402.5 MB, free: 3.309 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001276/0.174, allocations: 0.822 MB / 403.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.174, allocations: 8 kB / 403.3 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.174, allocations: 4 kB / 403.3 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.1741, allocations: 4 kB / 403.3 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006257/0.1747, allocations: 151.8 kB / 403.5 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.1747, allocations: 4.281 kB / 403.5 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004509/0.1752, allocations: 71.38 kB / 403.5 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.044e-05/0.1752, allocations: 20 kB / 403.5 MB, free: 2.223 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.0007802/0.176, allocations: 457.4 kB / 404 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.1762, allocations: 79.06 kB / 404.1 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001954/0.1764, allocations: 87.08 kB / 404.2 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.1764, allocations: 7.984 kB / 404.2 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/0.1764, allocations: 4 kB / 404.2 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.1764, allocations: 3.938 kB / 404.2 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003205/0.1796, allocations: 1.942 MB / 406.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1796, allocations: 0 / 406.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004955/0.1802, allocations: 115.9 kB / 406.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.1802, allocations: 4 kB / 406.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.649e-05/0.1802, allocations: 12 kB / 406.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.1802, allocations: 7.938 kB / 406.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.1802, allocations: 4 kB / 406.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/0.1819, allocations: 1.13 MB / 407.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002839/0.1822, allocations: 172.2 kB / 407.6 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.39e-05/0.1823, allocations: 15.98 kB / 407.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004148/0.1827, allocations: 43.95 kB / 407.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.1828, allocations: 48.25 kB / 407.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.068e-05/0.1829, allocations: 16 kB / 407.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008034/0.1837, allocations: 0.5927 MB / 408.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1837, allocations: 0 / 408.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008485/0.1845, allocations: 282.8 kB / 408.5 MB, free: 13.09 MB / 350.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.0001806/0.1847, allocations: 111.2 kB / 408.7 MB, free: 12.97 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.1858, allocations: 0.6537 MB / 409.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.1858, allocations: 4 kB / 409.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004529/0.1863, allocations: 322.2 kB / 409.6 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008925/0.1872, allocations: 183.3 kB / 409.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003715/0.1909, allocations: 2.282 MB / 412.1 MB, free: 9.492 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/0.1919, allocations: 1.34 MB / 413.4 MB, free: 8.121 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005437/0.1925, allocations: 201.8 kB / 413.6 MB, free: 7.922 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.1927, allocations: 55.44 kB / 413.7 MB, free: 7.867 MB / 350.1 MB Notification: Performance of SimCode: time 1.502e-06/0.1927, allocations: 4 kB / 413.7 MB, free: 7.863 MB / 350.1 MB Notification: Performance of Templates: time 0.01976/0.2124, allocations: 10.13 MB / 423.8 MB, free: 13.71 MB / 366.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)