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.00117/0.00117, allocations: 108 kB / 15.61 MB, free: 152 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.001155/0.001155, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002118/0.002118, allocations: 294.4 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9509/0.9509, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001682, allocations: 96.36 kB / 0.5954 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1435, allocations: 86.98 MB / 0.6803 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006553/0.1501, allocations: 4.877 MB / 0.6851 GB, free: 11.68 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003978/0.1541, allocations: 2.487 MB / 0.6875 GB, free: 9.195 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004335/0.1545, allocations: 23.81 kB / 0.6875 GB, free: 9.172 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001219/0.1558, allocations: 405.9 kB / 0.6879 GB, free: 8.773 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001067/0.1568, allocations: 445.6 kB / 0.6883 GB, free: 8.336 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008793/0.1577, allocations: 402.8 kB / 0.6887 GB, free: 7.945 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001086/0.1588, allocations: 0.9251 MB / 0.6896 GB, free: 7.02 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005458/0.1594, allocations: 358.4 kB / 0.69 GB, free: 6.664 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005066/0.1599, allocations: 334.7 kB / 0.6903 GB, free: 6.336 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005261/0.1604, allocations: 346.5 kB / 0.6906 GB, free: 5.996 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.1605, allocations: 43.94 kB / 0.6906 GB, free: 5.953 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006943/0.1612, allocations: 395.1 kB / 0.691 GB, free: 5.566 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001863/0.1614, allocations: 187.4 kB / 0.6912 GB, free: 5.383 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003091/0.1618, allocations: 322.2 kB / 0.6915 GB, free: 5.066 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008776/0.1626, allocations: 0.876 MB / 0.6924 GB, free: 4.188 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1627, allocations: 0 / 0.6924 GB, free: 4.188 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1627, allocations: 0 / 0.6924 GB, free: 4.188 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.1627, allocations: 4 kB / 0.6924 GB, free: 4.184 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.00129/0.164, allocations: 0.9424 MB / 0.6933 GB, free: 3.191 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.164, allocations: 8.031 kB / 0.6933 GB, free: 3.184 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.37e-05/0.1641, allocations: 98.62 kB / 0.6934 GB, free: 3.078 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001249/0.1654, allocations: 199.9 kB / 0.6936 GB, free: 2.883 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006618/0.166, allocations: 0.5021 MB / 0.6941 GB, free: 2.344 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.041e-05/0.1661, allocations: 29.38 kB / 0.6941 GB, free: 2.312 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.572e-05/0.1662, allocations: 48.36 kB / 0.6941 GB, free: 2.266 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.1673, allocations: 0.8446 MB / 0.695 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.1673, allocations: 7.938 kB / 0.695 GB, free: 1.285 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.275e-05/0.1673, allocations: 27.98 kB / 0.695 GB, free: 1.258 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.619e-05/0.1674, allocations: 60.95 kB / 0.6951 GB, free: 1.199 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008602/0.1683, allocations: 0.5695 MB / 0.6956 GB, free: 0.625 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00432/0.1726, allocations: 5.658 MB / 0.7011 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000636/0.1733, allocations: 454.2 kB / 0.7016 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000306/0.1736, allocations: 228.7 kB / 0.7018 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.1736, allocations: 4 kB / 0.7018 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.1737, allocations: 38.56 kB / 0.7018 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 2.054e-06/0.1737, allocations: 0 / 0.7018 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.002485/0.1762, allocations: 1.514 MB / 0.7033 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.1762, allocations: 51.69 kB / 0.7034 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005114/0.1767, allocations: 0.499 MB / 0.7039 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.1768, allocations: 37.7 kB / 0.7039 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002319/0.177, allocations: 354.8 kB / 0.7042 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.662e-05/0.1771, allocations: 118.3 kB / 0.7043 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/0.1773, allocations: 114.2 kB / 0.7044 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1774, allocations: 366.8 kB / 0.7048 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/0.1777, allocations: 193.2 kB / 0.705 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004459/0.1781, allocations: 447.3 kB / 0.7054 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008365/0.179, allocations: 0.6882 MB / 0.7061 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.179, allocations: 4 kB / 0.7061 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001326/0.1803, allocations: 0.8056 MB / 0.7069 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.1804, allocations: 12.22 kB / 0.7069 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.1804, allocations: 8 kB / 0.7069 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004857/0.1809, allocations: 160.1 kB / 0.707 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004376/0.1813, allocations: 123.7 kB / 0.7072 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003235/0.1846, allocations: 4.344 MB / 0.7114 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003798/0.185, allocations: 35.97 kB / 0.7114 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.155e-05/0.185, allocations: 27.98 kB / 0.7115 GB, free: 15.12 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.0002898/0.1853, allocations: 226.9 kB / 0.7117 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.1854, allocations: 59.25 kB / 0.7117 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.1865, allocations: 0.597 MB / 0.7123 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1865, allocations: 4 kB / 0.7123 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1865, allocations: 0 / 0.7123 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1865, allocations: 4 kB / 0.7123 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001833/0.1884, allocations: 1.269 MB / 0.7136 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.1884, allocations: 4 kB / 0.7136 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002821/0.1887, allocations: 55.83 kB / 0.7136 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004009/0.1891, allocations: 152.1 kB / 0.7138 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-05/0.1891, allocations: 7.938 kB / 0.7138 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003475/0.1926, allocations: 4.329 MB / 0.718 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.1926, allocations: 7.969 kB / 0.718 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.1938, allocations: 0.7082 MB / 0.7187 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002973/0.1941, allocations: 172.3 kB / 0.7189 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.1942, allocations: 11.98 kB / 0.7189 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002769/0.1945, allocations: 19.97 kB / 0.7189 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.342e-05/0.1946, allocations: 35.84 kB / 0.7189 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.1946, allocations: 8 kB / 0.7189 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003904/0.195, allocations: 338.8 kB / 0.7193 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.195, allocations: 0 / 0.7193 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006699/0.1957, allocations: 148 kB / 0.7194 GB, free: 6.367 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.001305/0.197, allocations: 1.257 MB / 0.7206 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001642/0.1986, allocations: 1.08 MB / 0.7217 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.1987, allocations: 0 / 0.7217 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008554/0.1995, allocations: 0.7345 MB / 0.7224 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009999/0.2005, allocations: 211.5 kB / 0.7226 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006571/0.2071, allocations: 5.261 MB / 0.7277 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005775/0.2077, allocations: 0.9059 MB / 0.7286 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003954/0.2081, allocations: 121.3 kB / 0.7287 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002533/0.2084, allocations: 195.4 kB / 0.7289 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of SimCode: time 7.82e-07/0.2084, allocations: 0 / 0.7289 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04075/0.2492, allocations: 12.7 MB / 0.7413 GB, free: 15.55 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.871/10.12, allocations: 12.12 kB / 0.7413 GB, free: 15.54 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)