Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009022/0.0009021, allocations: 91.84 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.005559/0.005559, allocations: 169.9 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.311/1.311, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001756/0.001756, allocations: 275 kB / 291.7 MB, free: 1.852 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9429/0.9429, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003981/0.0003981, allocations: 18.3 kB / 0.5987 GB, free: 28.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1481, allocations: 88.55 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005341/0.1534, allocations: 4.452 MB / 0.6895 GB, free: 10.58 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00417/0.1577, allocations: 2.442 MB / 0.6919 GB, free: 8.137 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005206/0.1582, allocations: 19.81 kB / 0.6919 GB, free: 8.117 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003492/0.1586, allocations: 83.22 kB / 0.692 GB, free: 8.035 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001206/0.1598, allocations: 414 kB / 0.6924 GB, free: 7.633 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.1608, allocations: 345.8 kB / 0.6927 GB, free: 7.301 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001327/0.1621, allocations: 1.122 MB / 0.6938 GB, free: 6.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009254/0.1631, allocations: 468.8 kB / 0.6942 GB, free: 5.699 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004051/0.1635, allocations: 290.6 kB / 0.6945 GB, free: 5.414 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004474/0.164, allocations: 342.4 kB / 0.6948 GB, free: 5.078 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.605e-05/0.164, allocations: 20 kB / 0.6949 GB, free: 5.059 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000829/0.1648, allocations: 495 kB / 0.6953 GB, free: 4.574 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001703/0.165, allocations: 159.4 kB / 0.6955 GB, free: 4.418 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000269/0.1653, allocations: 323.9 kB / 0.6958 GB, free: 4.094 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008111/0.1661, allocations: 0.8757 MB / 0.6967 GB, free: 3.215 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1661, allocations: 0 / 0.6967 GB, free: 3.215 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1661, allocations: 0 / 0.6967 GB, free: 3.215 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.1662, allocations: 0 / 0.6967 GB, free: 3.215 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001137/0.1673, allocations: 0.8258 MB / 0.6975 GB, free: 2.34 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.1673, allocations: 8.031 kB / 0.6975 GB, free: 2.332 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001204/0.1686, allocations: 207.8 kB / 0.6977 GB, free: 2.129 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005958/0.1692, allocations: 490.3 kB / 0.6981 GB, free: 1.613 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.177e-05/0.1692, allocations: 37.36 kB / 0.6982 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.124e-05/0.1693, allocations: 44.36 kB / 0.6982 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.1703, allocations: 0.8448 MB / 0.699 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.1703, allocations: 7.938 kB / 0.699 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.618e-05/0.1704, allocations: 20 kB / 0.6991 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.441e-05/0.1705, allocations: 68.95 kB / 0.6991 GB, free: 476 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007887/0.1713, allocations: 0.5695 MB / 0.6997 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003802/0.1751, allocations: 5.647 MB / 0.7052 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005833/0.1757, allocations: 458.2 kB / 0.7056 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002873/0.176, allocations: 228.7 kB / 0.7059 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.176, allocations: 7.984 kB / 0.7059 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.176, allocations: 34.55 kB / 0.7059 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 3.356e-06/0.176, allocations: 0 / 0.7059 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.002332/0.1784, allocations: 1.513 MB / 0.7074 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.1784, allocations: 55.69 kB / 0.7074 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004557/0.1789, allocations: 0.4949 MB / 0.7079 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.1789, allocations: 29.7 kB / 0.7079 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.1791, allocations: 354.8 kB / 0.7083 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.052e-05/0.1792, allocations: 122.4 kB / 0.7084 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.405e-05/0.1793, allocations: 49.7 kB / 0.7084 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.1794, allocations: 370.8 kB / 0.7088 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002669/0.1797, allocations: 193.2 kB / 0.709 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004049/0.1801, allocations: 447.3 kB / 0.7094 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007586/0.1809, allocations: 0.6921 MB / 0.7101 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.1809, allocations: 0 / 0.7101 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00124/0.1821, allocations: 0.8087 MB / 0.7109 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.1822, allocations: 8 kB / 0.7109 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.1822, allocations: 8.906 kB / 0.7109 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005012/0.1827, allocations: 160.1 kB / 0.711 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004626/0.1832, allocations: 123.7 kB / 0.7112 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003038/0.1862, allocations: 4.04 MB / 0.7151 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003589/0.1866, allocations: 31.97 kB / 0.7151 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.971e-05/0.1866, allocations: 28 kB / 0.7152 GB, free: 14.8 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002559/0.1869, allocations: 212.6 kB / 0.7154 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.401e-05/0.187, allocations: 67.19 kB / 0.7154 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009915/0.188, allocations: 0.597 MB / 0.716 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.188, allocations: 4 kB / 0.716 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.188, allocations: 0 / 0.716 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.188, allocations: 7.922 kB / 0.716 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/0.1897, allocations: 1.259 MB / 0.7172 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.1897, allocations: 8.031 kB / 0.7173 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002513/0.1899, allocations: 55.89 kB / 0.7173 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003784/0.1903, allocations: 144.2 kB / 0.7174 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.1904, allocations: 4 kB / 0.7174 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002681/0.193, allocations: 4.032 MB / 0.7214 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.1931, allocations: 4.031 kB / 0.7214 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009068/0.194, allocations: 0.7038 MB / 0.7221 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001733/0.1942, allocations: 172.3 kB / 0.7222 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.924e-05/0.1942, allocations: 15.94 kB / 0.7223 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002483/0.1945, allocations: 19.97 kB / 0.7223 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.891e-05/0.1946, allocations: 27.97 kB / 0.7223 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.1946, allocations: 11.94 kB / 0.7223 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003294/0.1949, allocations: 334.8 kB / 0.7226 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1949, allocations: 4 kB / 0.7226 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005662/0.1955, allocations: 136 kB / 0.7228 GB, free: 6.398 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001331/0.1956, allocations: 118.2 kB / 0.7229 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001229/0.1969, allocations: 1.037 MB / 0.7239 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1969, allocations: 0 / 0.7239 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007412/0.1976, allocations: 0.7346 MB / 0.7246 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.1987, allocations: 194 kB / 0.7248 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.2002, allocations: 1.274 MB / 0.726 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004176/0.2006, allocations: 0.9019 MB / 0.7269 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003101/0.2009, allocations: 117.3 kB / 0.727 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.402e-05/0.201, allocations: 43.44 kB / 0.7271 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of SimCode: time 3.2e-07/0.201, allocations: 0 / 0.7271 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of Templates: time 0.01187/0.2129, allocations: 7.275 MB / 0.7342 GB, free: 10.55 MB / 0.5294 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)