Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull") translateModel(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008036/0.0008035, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008745/0.0008745, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001714/0.001713, allocations: 263.1 kB / 291.3 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9395/0.9395, allocations: 169.5 MB / 0.5 GB, free: 14.24 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004008/0.0004009, allocations: 13.53 kB / 0.598 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1741, allocations: 88.54 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.005538/0.1797, allocations: 4.731 MB / 0.6891 GB, free: 10.74 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005392/0.1851, allocations: 3.809 MB / 0.6928 GB, free: 6.93 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004214/0.1856, allocations: 15.88 kB / 0.6928 GB, free: 6.914 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002872/0.1859, allocations: 95.98 kB / 0.6929 GB, free: 6.82 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001203/0.1871, allocations: 0.5145 MB / 0.6934 GB, free: 6.309 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.1882, allocations: 405.5 kB / 0.6938 GB, free: 5.914 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001182/0.1894, allocations: 1.323 MB / 0.6951 GB, free: 4.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/0.1904, allocations: 0.6756 MB / 0.6958 GB, free: 3.887 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004446/0.1909, allocations: 390.5 kB / 0.6961 GB, free: 3.504 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006495/0.1915, allocations: 0.5138 MB / 0.6966 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.67e-05/0.1916, allocations: 36 kB / 0.6967 GB, free: 2.953 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008841/0.1925, allocations: 483.3 kB / 0.6971 GB, free: 2.48 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002818/0.1928, allocations: 307.1 kB / 0.6974 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.1929, allocations: 165.3 kB / 0.6976 GB, free: 2.012 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009739/0.1939, allocations: 1.021 MB / 0.6986 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1939, allocations: 4 kB / 0.6986 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1939, allocations: 0 / 0.6986 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.194, allocations: 0 / 0.6986 GB, free: 0.9844 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.001663/0.1956, allocations: 1.021 MB / 0.6996 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.1957, allocations: 8.031 kB / 0.6996 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008202/0.2039, allocations: 1.703 MB / 0.7013 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000992/0.2049, allocations: 0.6031 MB / 0.7019 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.895e-05/0.205, allocations: 49.22 kB / 0.7019 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.2051, allocations: 63.89 kB / 0.702 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004191/0.2093, allocations: 1.905 MB / 0.7038 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.2093, allocations: 8 kB / 0.7038 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.2095, allocations: 27.98 kB / 0.7039 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003002/0.2098, allocations: 145.4 kB / 0.704 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00677/0.2165, allocations: 2.616 MB / 0.7065 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008839/0.2254, allocations: 6.665 MB / 0.7131 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002875/0.2283, allocations: 1.266 MB / 0.7143 GB, free: 368 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002211/0.2305, allocations: 0.9037 MB / 0.7152 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001924/0.2325, allocations: 1.483 MB / 0.7166 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.2325, allocations: 38.56 kB / 0.7167 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=73): time 2.184e-06/0.2325, allocations: 0 / 0.7167 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of matching and sorting (n=107): time 0.0241/0.2566, allocations: 8.241 MB / 0.7247 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.2567, allocations: 90.11 kB / 0.7248 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006615/0.2574, allocations: 0.5769 MB / 0.7254 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000104/0.2575, allocations: 45.7 kB / 0.7254 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/0.2577, allocations: 419 kB / 0.7258 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002933/0.258, allocations: 374.6 kB / 0.7262 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.2582, allocations: 24 kB / 0.7262 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.2583, allocations: 386.8 kB / 0.7265 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002605/0.2609, allocations: 1.111 MB / 0.7276 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002778/0.2637, allocations: 1.448 MB / 0.729 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00283/0.2665, allocations: 1.23 MB / 0.7302 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.2666, allocations: 0 / 0.7302 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.009709/0.2763, allocations: 3.885 MB / 0.734 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002565/0.2766, allocations: 398.5 kB / 0.7344 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/0.2766, allocations: 12 kB / 0.7344 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004766/0.2814, allocations: 1.38 MB / 0.7358 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001873/0.2833, allocations: 459.2 kB / 0.7362 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01438/0.2977, allocations: 11.22 MB / 0.7472 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002002/0.2997, allocations: 307.7 kB / 0.7475 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001434/0.2999, allocations: 67.91 kB / 0.7475 GB, free: 13.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/0.2999, allocations: 4 kB / 0.7475 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009086/0.309, allocations: 3.561 MB / 0.751 GB, free: 9.684 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.707e-05/0.309, allocations: 16.09 kB / 0.751 GB, free: 9.668 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003702/0.3127, allocations: 1.103 MB / 0.7521 GB, free: 8.551 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002016/0.3148, allocations: 471.2 kB / 0.7526 GB, free: 8.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01244/0.3272, allocations: 10.34 MB / 0.7627 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002001/0.3293, allocations: 299.5 kB / 0.7629 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001544/0.3294, allocations: 67.97 kB / 0.763 GB, free: 12.86 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (123): * Single equations (assignments): 119 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 9} * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0005959/0.33, allocations: 381.4 kB / 0.7634 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001959/0.3302, allocations: 90.97 kB / 0.7635 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009899/0.3401, allocations: 3.758 MB / 0.7671 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/0.3402, allocations: 15.95 kB / 0.7671 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.649e-05/0.3402, allocations: 4 kB / 0.7671 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.56e-05/0.3402, allocations: 7.984 kB / 0.7672 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01169/0.3519, allocations: 5.483 MB / 0.7725 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.352, allocations: 8 kB / 0.7725 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001437/0.3534, allocations: 363.9 kB / 0.7729 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00514/0.3586, allocations: 1.236 MB / 0.7741 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001353/0.3587, allocations: 39.97 kB / 0.7741 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3117/0.6704, allocations: 10.74 MB / 0.7846 GB, free: 82.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/0.6705, allocations: 7.812 kB / 0.7846 GB, free: 82.61 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009073/0.6795, allocations: 3.67 MB / 0.7882 GB, free: 81.66 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005768/0.6801, allocations: 339.3 kB / 0.7885 GB, free: 81.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001521/0.6803, allocations: 27.42 kB / 0.7885 GB, free: 81.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001685/0.682, allocations: 324.1 kB / 0.7888 GB, free: 81.47 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000313/0.6823, allocations: 106.8 kB / 0.7889 GB, free: 81.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.844e-05/0.6824, allocations: 46.95 kB / 0.789 GB, free: 81.45 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004807/0.6829, allocations: 401.5 kB / 0.7894 GB, free: 81.27 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6829, allocations: 0 / 0.7894 GB, free: 81.27 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001973/0.6849, allocations: 0.5977 MB / 0.79 GB, free: 81.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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 simulation (68): * Single equations (assignments): 64 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 9,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 1 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.000231/0.6851, allocations: 138.8 kB / 0.7901 GB, free: 81.09 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01245/0.6976, allocations: 5.704 MB / 0.7957 GB, free: 79.02 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.829e-06/0.6976, allocations: 8.266 kB / 0.7957 GB, free: 79.02 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004381/0.702, allocations: 2.121 MB / 0.7977 GB, free: 78.16 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.7032, allocations: 159.3 kB / 0.7979 GB, free: 78.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009346/0.7125, allocations: 3.818 MB / 0.8016 GB, free: 76.75 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006229/0.7132, allocations: 1.11 MB / 0.8027 GB, free: 76.01 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002054/0.7152, allocations: 0.5399 MB / 0.8032 GB, free: 75.89 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003182/0.7156, allocations: 78.84 kB / 0.8033 GB, free: 75.89 MB / 0.5606 GB Notification: Performance of SimCode: time 8.92e-07/0.7156, allocations: 0 / 0.8033 GB, free: 75.89 MB / 0.5606 GB Notification: Performance of Templates: time 0.03313/0.7487, allocations: 25.92 MB / 0.8286 GB, free: 58.67 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1)