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.000706/0.000706, allocations: 90.44 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.004611/0.004612, allocations: 171.5 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001667/0.001667, allocations: 270.4 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9215/0.9215, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004144/0.0004144, allocations: 16.23 kB / 0.5987 GB, free: 28.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1598, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.005346/0.1652, allocations: 4.968 MB / 0.69 GB, free: 10.09 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005685/0.1709, allocations: 4.055 MB / 0.6939 GB, free: 6.027 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003248/0.1713, allocations: 17.66 kB / 0.694 GB, free: 6.012 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002567/0.1715, allocations: 103.2 kB / 0.6941 GB, free: 5.91 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001205/0.1728, allocations: 0.6218 MB / 0.6947 GB, free: 5.289 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.1739, allocations: 0.4977 MB / 0.6952 GB, free: 4.793 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00139/0.1753, allocations: 1.634 MB / 0.6968 GB, free: 3.156 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00107/0.1763, allocations: 0.7006 MB / 0.6974 GB, free: 2.426 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004736/0.1768, allocations: 386.4 kB / 0.6978 GB, free: 2.047 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007192/0.1776, allocations: 0.5332 MB / 0.6983 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.389e-05/0.1776, allocations: 32 kB / 0.6984 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001626/0.1793, allocations: 1.006 MB / 0.6993 GB, free: 484 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002901/0.1796, allocations: 307.1 kB / 0.6996 GB, free: 176 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003455/0.1799, allocations: 415.5 kB / 0.7 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001289/0.1812, allocations: 1.413 MB / 0.7014 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.1812, allocations: 4 kB / 0.7014 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1812, allocations: 0 / 0.7014 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.275e-06/0.1813, allocations: 0 / 0.7014 GB, free: 14.34 MB / 0.4981 GB 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.001657/0.1829, allocations: 1.009 MB / 0.7024 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.183, allocations: 8.031 kB / 0.7024 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009712/0.1927, allocations: 1.696 MB / 0.7041 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009805/0.1937, allocations: 0.6157 MB / 0.7047 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.651e-05/0.1937, allocations: 45.67 kB / 0.7047 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/0.1939, allocations: 68.25 kB / 0.7048 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004729/0.1986, allocations: 1.925 MB / 0.7067 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.1987, allocations: 0 / 0.7067 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/0.1988, allocations: 27.98 kB / 0.7067 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000344/0.1992, allocations: 149.3 kB / 0.7068 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007709/0.2069, allocations: 2.62 MB / 0.7094 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009057/0.2159, allocations: 6.665 MB / 0.7159 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003319/0.2193, allocations: 1.265 MB / 0.7171 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002571/0.2219, allocations: 0.9037 MB / 0.718 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00193/0.2238, allocations: 1.484 MB / 0.7195 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.2239, allocations: 42.36 kB / 0.7195 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=73): time 3.356e-06/0.2239, allocations: 8 kB / 0.7195 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=107): time 0.02788/0.2518, allocations: 8.248 MB / 0.7276 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.2518, allocations: 90.11 kB / 0.7276 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006612/0.2525, allocations: 0.5807 MB / 0.7282 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001147/0.2526, allocations: 41.7 kB / 0.7283 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002468/0.2529, allocations: 423 kB / 0.7287 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003001/0.2532, allocations: 370.6 kB / 0.729 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001774/0.2534, allocations: 105.7 kB / 0.7291 GB, free: 1.23 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.2535, allocations: 390.8 kB / 0.7295 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00303/0.2566, allocations: 1.111 MB / 0.7306 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003187/0.2598, allocations: 1.456 MB / 0.732 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006139/0.2659, allocations: 2.604 MB / 0.7345 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.2659, allocations: 4 kB / 0.7345 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01131/0.2772, allocations: 3.897 MB / 0.7383 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002262/0.2775, allocations: 400.5 kB / 0.7387 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.2775, allocations: 12 kB / 0.7387 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005522/0.283, allocations: 1.384 MB / 0.7401 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002083/0.2851, allocations: 467.2 kB / 0.7405 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01489/0.3, allocations: 11.24 MB / 0.7515 GB, free: 9.293 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00222/0.3023, allocations: 307.7 kB / 0.7518 GB, free: 8.992 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/0.3024, allocations: 63.97 kB / 0.7519 GB, free: 8.93 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.063e-06/0.3024, allocations: 4 kB / 0.7519 GB, free: 8.926 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01002/0.3125, allocations: 3.581 MB / 0.7554 GB, free: 5.328 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.3125, allocations: 12.06 kB / 0.7554 GB, free: 5.316 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004097/0.3166, allocations: 1.1 MB / 0.7564 GB, free: 4.203 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002073/0.3187, allocations: 475.1 kB / 0.7569 GB, free: 3.738 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01264/0.3313, allocations: 10.35 MB / 0.767 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002171/0.3335, allocations: 311.5 kB / 0.7673 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/0.3337, allocations: 60.06 kB / 0.7674 GB, free: 8.488 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,8,100.0%), (2,8,100.0%), (3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0005914/0.3343, allocations: 394 kB / 0.7677 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001906/0.3345, allocations: 86.91 kB / 0.7678 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01111/0.3456, allocations: 3.774 MB / 0.7715 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.3456, allocations: 8 kB / 0.7715 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/0.3456, allocations: 8 kB / 0.7715 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.3456, allocations: 3.984 kB / 0.7715 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.289/0.6346, allocations: 5.484 MB / 0.7769 GB, free: 86.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.47e-05/0.6347, allocations: 8.781 kB / 0.7769 GB, free: 86.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001752/0.6365, allocations: 361.4 kB / 0.7772 GB, free: 86.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004629/0.6411, allocations: 1.245 MB / 0.7784 GB, free: 86.06 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001072/0.6412, allocations: 35.08 kB / 0.7785 GB, free: 86.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01271/0.6539, allocations: 10.76 MB / 0.789 GB, free: 80.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.654, allocations: 8.781 kB / 0.789 GB, free: 80.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009816/0.6638, allocations: 3.679 MB / 0.7926 GB, free: 79.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005118/0.6643, allocations: 337.5 kB / 0.7929 GB, free: 79.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/0.6645, allocations: 29.25 kB / 0.7929 GB, free: 79.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001859/0.6663, allocations: 321.4 kB / 0.7932 GB, free: 79.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002999/0.6666, allocations: 97.08 kB / 0.7933 GB, free: 79.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.329e-05/0.6667, allocations: 42.81 kB / 0.7934 GB, free: 79.38 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004099/0.6672, allocations: 415.9 kB / 0.7938 GB, free: 79.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6672, allocations: 0 / 0.7938 GB, free: 79.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001838/0.669, allocations: 0.5919 MB / 0.7944 GB, free: 79.13 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,9,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002064/0.6692, allocations: 140.8 kB / 0.7945 GB, free: 79.02 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01329/0.6825, allocations: 5.73 MB / 0.8001 GB, free: 76.93 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.6825, allocations: 1.188 kB / 0.8001 GB, free: 76.93 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005089/0.6876, allocations: 2.122 MB / 0.8022 GB, free: 76.07 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/0.6891, allocations: 157.8 kB / 0.8023 GB, free: 76.01 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/0.6991, allocations: 3.896 MB / 0.8061 GB, free: 74.57 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006029/0.6997, allocations: 1.114 MB / 0.8072 GB, free: 73.68 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001913/0.7016, allocations: 0.5382 MB / 0.8077 GB, free: 73.43 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003279/0.702, allocations: 81.81 kB / 0.8078 GB, free: 73.41 MB / 0.5606 GB Notification: Performance of SimCode: time 4.41e-07/0.702, allocations: 0 / 0.8078 GB, free: 73.41 MB / 0.5606 GB Notification: Performance of Templates: time 0.03108/0.7331, allocations: 26.51 MB / 0.8337 GB, free: 53.77 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)