Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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: "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001644/0.001645, 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.001825/0.001825, allocations: 198.7 kB / 16.54 MB, free: 6.672 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.436/1.436, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002467/0.002468, allocations: 290.9 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.079/1.079, allocations: 178.6 MB / 0.5073 GB, free: 4.57 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003867/0.003867, allocations: 97.06 kB / 0.6065 GB, free: 24.69 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1799, allocations: 89.15 MB / 0.6936 GB, free: 4.219 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006794/0.1867, allocations: 4.881 MB / 0.6984 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004202/0.1909, allocations: 2.494 MB / 0.7008 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002843/0.1912, allocations: 23.81 kB / 0.7008 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.1924, allocations: 407.2 kB / 0.7012 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009452/0.1934, allocations: 445.6 kB / 0.7016 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008482/0.1942, allocations: 401 kB / 0.702 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0009818/0.1952, allocations: 0.929 MB / 0.7029 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005257/0.1958, allocations: 359.3 kB / 0.7033 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004233/0.1962, allocations: 330.7 kB / 0.7036 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004436/0.1966, allocations: 346.5 kB / 0.7039 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.541e-05/0.1967, allocations: 43.94 kB / 0.704 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006594/0.1974, allocations: 403.1 kB / 0.7043 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000205/0.1976, allocations: 179.4 kB / 0.7045 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003346/0.1979, allocations: 326.2 kB / 0.7048 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009958/0.199, allocations: 0.8721 MB / 0.7057 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.199, allocations: 0 / 0.7057 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.332e-06/0.199, allocations: 4 kB / 0.7057 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.888e-06/0.199, allocations: 0 / 0.7057 GB, free: 7.82 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.001451/0.2005, allocations: 0.9463 MB / 0.7066 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.2005, allocations: 8.031 kB / 0.7066 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001136/0.2006, allocations: 102.6 kB / 0.7067 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/0.2019, allocations: 195.9 kB / 0.7069 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006994/0.2026, allocations: 0.5021 MB / 0.7074 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.721e-05/0.2026, allocations: 33.38 kB / 0.7074 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.016e-05/0.2027, allocations: 44.36 kB / 0.7075 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.2038, allocations: 0.8485 MB / 0.7083 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/0.2038, allocations: 11.84 kB / 0.7083 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.144e-05/0.2039, allocations: 23.98 kB / 0.7083 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.325e-05/0.204, allocations: 64.95 kB / 0.7084 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008652/0.2049, allocations: 0.5616 MB / 0.7089 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004555/0.2094, allocations: 5.654 MB / 0.7145 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000646/0.2101, allocations: 450.2 kB / 0.7149 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003193/0.2104, allocations: 236.7 kB / 0.7151 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.2105, allocations: 4.531 kB / 0.7151 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.2105, allocations: 34.56 kB / 0.7152 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=32): time 1.723e-06/0.2105, allocations: 0 / 0.7152 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.002544/0.213, allocations: 1.52 MB / 0.7166 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.2131, allocations: 55.69 kB / 0.7167 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005291/0.2136, allocations: 0.499 MB / 0.7172 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.2137, allocations: 37.7 kB / 0.7172 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002575/0.2139, allocations: 358.8 kB / 0.7176 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.727e-05/0.214, allocations: 114.4 kB / 0.7177 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/0.2142, allocations: 110.2 kB / 0.7178 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.2144, allocations: 370.8 kB / 0.7181 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002899/0.2147, allocations: 193.2 kB / 0.7183 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004679/0.2152, allocations: 447.3 kB / 0.7187 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008347/0.216, allocations: 0.6874 MB / 0.7194 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.216, allocations: 0 / 0.7194 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001307/0.2173, allocations: 0.8096 MB / 0.7202 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.2174, allocations: 8 kB / 0.7202 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.2174, allocations: 8 kB / 0.7202 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004892/0.2179, allocations: 168.4 kB / 0.7204 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004566/0.2183, allocations: 123.7 kB / 0.7205 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003573/0.2219, allocations: 4.332 MB / 0.7247 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003555/0.2223, allocations: 39.97 kB / 0.7248 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.818e-05/0.2223, allocations: 24 kB / 0.7248 GB, free: 2.754 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.0002543/0.2226, allocations: 229.5 kB / 0.725 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.988e-05/0.2227, allocations: 59.25 kB / 0.7251 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.2238, allocations: 0.597 MB / 0.7256 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.2238, allocations: 4 kB / 0.7256 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2238, allocations: 0 / 0.7256 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2238, allocations: 0 / 0.7256 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00183/0.2256, allocations: 1.275 MB / 0.7269 GB, free: 484 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/0.2256, allocations: 4 kB / 0.7269 GB, free: 480 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002687/0.2259, allocations: 59.89 kB / 0.727 GB, free: 420 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004012/0.2263, allocations: 144.3 kB / 0.7271 GB, free: 260 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.2264, allocations: 11.94 kB / 0.7271 GB, free: 248 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003565/0.2299, allocations: 4.328 MB / 0.7313 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.2299, allocations: 7.969 kB / 0.7313 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.231, allocations: 0.7083 MB / 0.732 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000209/0.2312, allocations: 164.3 kB / 0.7322 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.69e-05/0.2313, allocations: 11.98 kB / 0.7322 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/0.2315, allocations: 23.97 kB / 0.7322 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.264e-05/0.2316, allocations: 31.84 kB / 0.7322 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.2316, allocations: 12 kB / 0.7323 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003864/0.232, allocations: 342.8 kB / 0.7326 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2321, allocations: 0 / 0.7326 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006227/0.2327, allocations: 144 kB / 0.7327 GB, free: 9.996 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.001341/0.234, allocations: 1.261 MB / 0.734 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001496/0.2355, allocations: 1.076 MB / 0.735 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2355, allocations: 0 / 0.735 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008868/0.2364, allocations: 0.7346 MB / 0.7357 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009906/0.2374, allocations: 213.5 kB / 0.7359 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006352/0.2438, allocations: 5.249 MB / 0.7411 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000544/0.2444, allocations: 0.9098 MB / 0.7419 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003429/0.2447, allocations: 113.3 kB / 0.7421 GB, free: 15.82 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002522/0.245, allocations: 199.4 kB / 0.7422 GB, free: 15.62 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.245, allocations: 0 / 0.7422 GB, free: 15.62 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04456/0.2896, allocations: 12.71 MB / 0.7547 GB, free: 3.195 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.894/10.18, allocations: 6.672 kB / 0.7547 GB, free: 3.191 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)