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.001693/0.001693, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.439/1.439, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002544/0.002544, allocations: 278.6 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.062/1.062, allocations: 178.6 MB / 0.5073 GB, free: 4.559 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002734/0.002734, allocations: 98.67 kB / 0.6064 GB, free: 24.72 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1644, allocations: 89.15 MB / 0.6935 GB, free: 4.316 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006658/0.171, allocations: 4.838 MB / 0.6982 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00393/0.175, allocations: 2.452 MB / 0.7006 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002259/0.1752, allocations: 23.81 kB / 0.7006 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001192/0.1765, allocations: 403.1 kB / 0.701 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008866/0.1774, allocations: 453.6 kB / 0.7015 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008122/0.1782, allocations: 378.3 kB / 0.7018 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0009903/0.1792, allocations: 0.9096 MB / 0.7027 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005229/0.1797, allocations: 363.4 kB / 0.7031 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003896/0.1801, allocations: 330.7 kB / 0.7034 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004324/0.1806, allocations: 350.5 kB / 0.7037 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.773e-05/0.1806, allocations: 36 kB / 0.7037 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000667/0.1813, allocations: 407.1 kB / 0.7041 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001983/0.1815, allocations: 179.4 kB / 0.7043 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003141/0.1818, allocations: 318.2 kB / 0.7046 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009649/0.1828, allocations: 0.8643 MB / 0.7054 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1828, allocations: 0 / 0.7054 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1828, allocations: 0 / 0.7054 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.279e-05/0.1829, allocations: 0 / 0.7054 GB, free: 8.055 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001412/0.1843, allocations: 0.9463 MB / 0.7064 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1843, allocations: 12.03 kB / 0.7064 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001203/0.1855, allocations: 199.9 kB / 0.7066 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006427/0.1862, allocations: 494.2 kB / 0.707 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.333e-05/0.1862, allocations: 41.3 kB / 0.7071 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.35e-05/0.1863, allocations: 44.36 kB / 0.7071 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.1874, allocations: 0.8448 MB / 0.708 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.1874, allocations: 7.938 kB / 0.708 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.223e-05/0.1875, allocations: 20 kB / 0.708 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.712e-05/0.1876, allocations: 64.95 kB / 0.708 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008351/0.1884, allocations: 0.5694 MB / 0.7086 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004457/0.1929, allocations: 5.647 MB / 0.7141 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006504/0.1935, allocations: 459 kB / 0.7145 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003142/0.1938, allocations: 228.7 kB / 0.7148 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.1939, allocations: 8.531 kB / 0.7148 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.1939, allocations: 34.56 kB / 0.7148 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=32): time 1.442e-06/0.1939, allocations: 0 / 0.7148 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.002485/0.1964, allocations: 1.512 MB / 0.7163 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.1965, allocations: 55.69 kB / 0.7163 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005083/0.197, allocations: 499 kB / 0.7168 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.197, allocations: 29.7 kB / 0.7168 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/0.1973, allocations: 354.8 kB / 0.7172 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.1974, allocations: 122.3 kB / 0.7173 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.1975, allocations: 110.2 kB / 0.7174 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.1977, allocations: 370.8 kB / 0.7178 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00029/0.198, allocations: 197.1 kB / 0.7179 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004909/0.1985, allocations: 447.3 kB / 0.7184 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008308/0.1993, allocations: 0.6913 MB / 0.719 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1993, allocations: 0 / 0.719 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001252/0.2006, allocations: 0.8137 MB / 0.7198 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.2006, allocations: 8 kB / 0.7198 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.2006, allocations: 8 kB / 0.7199 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004833/0.2011, allocations: 152.3 kB / 0.72 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004322/0.2016, allocations: 123.8 kB / 0.7201 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003853/0.2054, allocations: 4.344 MB / 0.7244 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003192/0.2058, allocations: 31.97 kB / 0.7244 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.968e-05/0.2058, allocations: 28 kB / 0.7244 GB, free: 3.129 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.0002535/0.2061, allocations: 217.6 kB / 0.7246 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.026e-05/0.2062, allocations: 63.25 kB / 0.7247 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.2072, allocations: 0.5929 MB / 0.7253 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.2073, allocations: 8 kB / 0.7253 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.2073, allocations: 4 kB / 0.7253 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.2073, allocations: 0 / 0.7253 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001809/0.2091, allocations: 1.272 MB / 0.7265 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.2091, allocations: 4 kB / 0.7265 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002492/0.2094, allocations: 51.89 kB / 0.7266 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003877/0.2098, allocations: 144.4 kB / 0.7267 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/0.2098, allocations: 7.938 kB / 0.7267 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003451/0.2133, allocations: 4.34 MB / 0.731 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.2133, allocations: 0 / 0.731 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009736/0.2143, allocations: 0.7121 MB / 0.7317 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002213/0.2145, allocations: 168.3 kB / 0.7318 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.045e-05/0.2146, allocations: 11.94 kB / 0.7318 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/0.2148, allocations: 19.97 kB / 0.7318 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.477e-05/0.2149, allocations: 39.83 kB / 0.7319 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.2149, allocations: 8 kB / 0.7319 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003525/0.2153, allocations: 334.9 kB / 0.7322 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2153, allocations: 0 / 0.7322 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000574/0.2158, allocations: 140 kB / 0.7323 GB, free: 10.39 MB / 0.5294 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.0001435/0.216, allocations: 111.9 kB / 0.7324 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001533/0.2175, allocations: 1.084 MB / 0.7335 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2176, allocations: 0 / 0.7335 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009546/0.2185, allocations: 0.7263 MB / 0.7342 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009704/0.2195, allocations: 207.1 kB / 0.7344 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.2213, allocations: 1.045 MB / 0.7354 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006485/0.222, allocations: 0.9058 MB / 0.7363 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003755/0.2224, allocations: 125.3 kB / 0.7364 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.927e-05/0.2225, allocations: 39.44 kB / 0.7365 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of SimCode: time 4.61e-07/0.2225, allocations: 0 / 0.7365 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of Templates: time 0.01582/0.2383, allocations: 7.6 MB / 0.7439 GB, free: 14.41 MB / 0.545 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)