Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.006384/0.006385, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001111/0.001111, allocations: 201.4 kB / 16.68 MB, free: 5.969 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.418/1.418, allocations: 205.1 MB / 222.6 MB, free: 4.531 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.001538/0.001538, allocations: 44.97 kB / 326.5 MB, free: 14.28 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1158, allocations: 46.63 MB / 373.2 MB, free: 1.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.007777/0.1236, allocations: 5.881 MB / 379 MB, free: 11.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004067/0.1277, allocations: 1.904 MB / 380.9 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008874/0.1287, allocations: 20 kB / 381 MB, free: 9.488 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004182/0.1328, allocations: 1.63 MB / 382.6 MB, free: 7.852 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002722/0.1356, allocations: 0.8277 MB / 383.4 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009697/0.1366, allocations: 279.4 kB / 383.7 MB, free: 6.746 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001684/0.1383, allocations: 0.8988 MB / 384.6 MB, free: 5.844 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001657/0.1399, allocations: 0.876 MB / 385.5 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006819/0.1406, allocations: 382.5 kB / 385.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008975/0.1416, allocations: 0.537 MB / 386.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002755/0.1418, allocations: 84 kB / 386.5 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009684/0.1428, allocations: 247.8 kB / 386.7 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002846/0.1431, allocations: 207.2 kB / 386.9 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008442/0.144, allocations: 465.7 kB / 387.4 MB, free: 3.047 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00241/0.1464, allocations: 1.237 MB / 388.6 MB, free: 1.805 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.1464, allocations: 4 kB / 388.6 MB, free: 1.801 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1464, allocations: 0 / 388.6 MB, free: 1.801 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.888e-05/0.1465, allocations: 0 / 388.6 MB, free: 1.801 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.004892/0.1514, allocations: 1.45 MB / 390.1 MB, free: 304 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.078e-05/0.1515, allocations: 8.031 kB / 390.1 MB, free: 296 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00713/0.1586, allocations: 0.9603 MB / 391 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.1597, allocations: 455 kB / 391.5 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.713e-05/0.1598, allocations: 78.55 kB / 391.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002192/0.16, allocations: 112.3 kB / 391.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002237/0.1623, allocations: 1.133 MB / 392.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.924e-05/0.1623, allocations: 0 / 392.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.1624, allocations: 48 kB / 392.8 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.851e-05/0.1625, allocations: 24 kB / 392.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002/0.1645, allocations: 1.136 MB / 394 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005098/0.1696, allocations: 3.934 MB / 397.9 MB, free: 8.102 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003355/0.173, allocations: 3.763 MB / 401.7 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004796/0.1735, allocations: 328.5 kB / 402 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.1736, allocations: 97.66 kB / 402.1 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.1736, allocations: 47.05 kB / 402.2 MB, free: 3.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 2.866e-06/0.1736, allocations: 0 / 402.2 MB, free: 3.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=71): time 0.001447/0.1751, allocations: 0.7527 MB / 402.9 MB, free: 2.402 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.523e-05/0.1752, allocations: 119.3 kB / 403 MB, free: 2.262 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003499/0.1755, allocations: 324.3 kB / 403.3 MB, free: 1.93 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.846e-05/0.1756, allocations: 37.7 kB / 403.4 MB, free: 1.887 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002585/0.1758, allocations: 463.6 kB / 403.8 MB, free: 1.426 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000176/0.176, allocations: 249.9 kB / 404.1 MB, free: 1.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002318/0.1762, allocations: 178.5 kB / 404.2 MB, free: 1 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.1764, allocations: 350.8 kB / 404.6 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004315/0.1768, allocations: 253.9 kB / 404.8 MB, free: 412 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006596/0.1775, allocations: 0.5553 MB / 405.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.1787, allocations: 0.8715 MB / 406.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.1787, allocations: 4 kB / 406.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001409/0.1801, allocations: 0.9028 MB / 407.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.1801, allocations: 24.69 kB / 407.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.1802, allocations: 8 kB / 407.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.981e-05/0.1802, allocations: 20 kB / 407.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000785/0.181, allocations: 231.6 kB / 407.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.427e-05/0.181, allocations: 23.92 kB / 407.5 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004958/0.1815, allocations: 111.2 kB / 407.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.54e-05/0.1816, allocations: 51.98 kB / 407.6 MB, free: 13.31 MB / 350.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.0003388/0.182, allocations: 233.5 kB / 407.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.1821, allocations: 55.66 kB / 407.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/0.1833, allocations: 0.6861 MB / 408.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.1833, allocations: 8 kB / 408.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.1834, allocations: 0 / 408.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.1834, allocations: 7.984 kB / 408.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002452/0.1858, allocations: 1.569 MB / 410.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.1859, allocations: 7.938 kB / 410.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005706/0.1864, allocations: 143.9 kB / 410.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.1864, allocations: 7.938 kB / 410.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.548e-05/0.1865, allocations: 20 kB / 410.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1865, allocations: 0 / 410.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.1865, allocations: 7.984 kB / 410.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/0.1882, allocations: 1.163 MB / 411.5 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.1884, allocations: 136.6 kB / 411.7 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.597e-05/0.1884, allocations: 15.98 kB / 411.7 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003553/0.1888, allocations: 24 kB / 411.7 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.1889, allocations: 48.52 kB / 411.8 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.793e-05/0.189, allocations: 24.06 kB / 411.8 MB, free: 9.055 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002121/0.1892, allocations: 219 kB / 412 MB, free: 8.836 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1892, allocations: 0 / 412 MB, free: 8.836 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008513/0.19, allocations: 243.3 kB / 412.2 MB, free: 8.598 MB / 350.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.0002736/0.1903, allocations: 147 kB / 412.4 MB, free: 8.445 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001257/0.1916, allocations: 0.6898 MB / 413.1 MB, free: 7.762 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1916, allocations: 0 / 413.1 MB, free: 7.762 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004999/0.1921, allocations: 325.1 kB / 413.4 MB, free: 7.445 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005835/0.1927, allocations: 49.16 kB / 413.4 MB, free: 7.398 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002363/0.1951, allocations: 1.404 MB / 414.8 MB, free: 5.957 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005627/0.1957, allocations: 0.9241 MB / 415.8 MB, free: 5.008 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003367/0.196, allocations: 100.8 kB / 415.9 MB, free: 4.906 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.1962, allocations: 55.42 kB / 415.9 MB, free: 4.852 MB / 350.1 MB Notification: Performance of SimCode: time 5.1e-07/0.1962, allocations: 4 kB / 415.9 MB, free: 4.848 MB / 350.1 MB Notification: Performance of Templates: time 0.01049/0.2067, allocations: 5.211 MB / 421.1 MB, free: 15.63 MB / 366.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe 2>&1)