Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) 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(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.008082/0.008083, allocations: 169.8 kB / 16.26 MB, free: 6.676 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.951/1.951, allocations: 205.4 MB / 222.5 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4385/0.4385, allocations: 40 MB / 310.7 MB, free: 9.914 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006627/0.000663, allocations: 24 kB / 379.4 MB, free: 12.26 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1653, allocations: 57.96 MB / 437.4 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.004195/0.1696, allocations: 2.212 MB / 439.6 MB, free: 15.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.1712, allocations: 0.6243 MB / 440.2 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000286/0.1715, allocations: 4 kB / 440.2 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001938/0.1717, allocations: 35.75 kB / 440.3 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003114/0.172, allocations: 63.47 kB / 440.3 MB, free: 15.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003071/0.1723, allocations: 51.95 kB / 440.4 MB, free: 15.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004424/0.1728, allocations: 282.7 kB / 440.7 MB, free: 14.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002236/0.173, allocations: 73.02 kB / 440.7 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002556/0.1733, allocations: 99.56 kB / 440.8 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003548/0.1737, allocations: 107.5 kB / 440.9 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.774e-05/0.1737, allocations: 12 kB / 441 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.859e-05/0.1738, allocations: 12 kB / 441 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.909e-05/0.1738, allocations: 39.83 kB / 441 MB, free: 14.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000208/0.174, allocations: 141 kB / 441.1 MB, free: 14.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003786/0.1744, allocations: 267.2 kB / 441.4 MB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.1744, allocations: 0 / 441.4 MB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1745, allocations: 4 kB / 441.4 MB, free: 14.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.1745, allocations: 0 / 441.4 MB, free: 14.16 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001098/0.1756, allocations: 0.4951 MB / 441.9 MB, free: 13.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/0.1756, allocations: 8.031 kB / 441.9 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.1758, allocations: 32.66 kB / 441.9 MB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004054/0.1762, allocations: 244.5 kB / 442.2 MB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.1762, allocations: 16.81 kB / 442.2 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.718e-05/0.1763, allocations: 20.38 kB / 442.2 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004605/0.1767, allocations: 195.6 kB / 442.4 MB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.1768, allocations: 0 / 442.4 MB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.106e-05/0.1768, allocations: 12 kB / 442.4 MB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.1768, allocations: 4 kB / 442.4 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003627/0.1772, allocations: 149.6 kB / 442.6 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001698/0.1789, allocations: 0.8142 MB / 443.4 MB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.1792, allocations: 102.4 kB / 443.5 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.1793, allocations: 44.84 kB / 443.5 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.1793, allocations: 0 / 443.5 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.008e-05/0.1794, allocations: 42.55 kB / 443.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.1794, allocations: 0 / 443.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.002131/0.1815, allocations: 0.7488 MB / 444.3 MB, free: 11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.271e-05/0.1816, allocations: 55.41 kB / 444.4 MB, free: 10.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002477/0.1819, allocations: 211.8 kB / 444.6 MB, free: 10.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.1819, allocations: 25.7 kB / 444.6 MB, free: 10.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.182, allocations: 172.5 kB / 444.8 MB, free: 10.51 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001835/0.1822, allocations: 55.25 kB / 444.8 MB, free: 10.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.153e-05/0.1823, allocations: 21.7 kB / 444.8 MB, free: 10.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002074/0.1825, allocations: 334.8 kB / 445.2 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.1827, allocations: 63.97 kB / 445.2 MB, free: 10.03 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.1829, allocations: 113.1 kB / 445.3 MB, free: 9.902 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/0.1832, allocations: 188.9 kB / 445.5 MB, free: 9.699 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1832, allocations: 3.938 kB / 445.5 MB, free: 9.695 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007333/0.184, allocations: 290.9 kB / 445.8 MB, free: 9.398 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.184, allocations: 4 kB / 445.8 MB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.184, allocations: 4 kB / 445.8 MB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002655/0.1843, allocations: 65.67 kB / 445.9 MB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.1845, allocations: 47.91 kB / 445.9 MB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003032/0.1875, allocations: 2.8 MB / 448.7 MB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.1877, allocations: 12.09 kB / 448.7 MB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.1877, allocations: 8 kB / 448.8 MB, free: 6.184 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001384/0.1879, allocations: 133.8 kB / 448.9 MB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.083e-05/0.1879, allocations: 19.81 kB / 448.9 MB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.188, allocations: 29.8 kB / 448.9 MB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.188, allocations: 0 / 448.9 MB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.188, allocations: 0 / 448.9 MB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1881, allocations: 8.188 kB / 448.9 MB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000363/0.1884, allocations: 289.5 kB / 449.2 MB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1884, allocations: 0 / 449.2 MB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.232e-05/0.1885, allocations: 19.98 kB / 449.2 MB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001859/0.1887, allocations: 69.61 kB / 449.3 MB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.1888, allocations: 7.938 kB / 449.3 MB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00262/0.1914, allocations: 2.8 MB / 452.1 MB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1914, allocations: 0 / 452.1 MB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006454/0.1921, allocations: 408.7 kB / 452.5 MB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.584e-05/0.1921, allocations: 100.9 kB / 452.6 MB, free: 1.945 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.1922, allocations: 4.062 kB / 452.6 MB, free: 1.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.1924, allocations: 19.98 kB / 452.6 MB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.757e-05/0.1924, allocations: 11.98 kB / 452.7 MB, free: 1.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.1925, allocations: 11.98 kB / 452.7 MB, free: 1.898 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001462/0.1926, allocations: 153.5 kB / 452.8 MB, free: 1.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1926, allocations: 0 / 452.8 MB, free: 1.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003645/0.193, allocations: 68 kB / 452.9 MB, free: 1.684 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001175/0.1931, allocations: 99.23 kB / 453 MB, free: 1.578 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007956/0.1939, allocations: 428.7 kB / 453.4 MB, free: 1.137 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.1939, allocations: 0 / 453.4 MB, free: 1.137 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006653/0.1946, allocations: 333.6 kB / 453.7 MB, free: 0.7852 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.195, allocations: 31.88 kB / 453.8 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.1963, allocations: 0.6397 MB / 454.4 MB, free: 96 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2289/0.4251, allocations: 0.7413 MB / 455.1 MB, free: 47.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001625/0.4253, allocations: 21.23 kB / 455.2 MB, free: 47.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.019e-05/0.4254, allocations: 17.22 kB / 455.2 MB, free: 47.62 MB / 382.1 MB Notification: Performance of SimCode: time 1.332e-06/0.4254, allocations: 0 / 455.2 MB, free: 47.62 MB / 382.1 MB Notification: Performance of Templates: time 0.005938/0.4314, allocations: 2.509 MB / 457.7 MB, free: 47.59 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer.sim & ./ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) Environment - environmentSimulation: