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.001417/0.001417, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0016/0.0016, allocations: 190.4 kB / 16.25 MB, free: 6.625 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.329/1.329, allocations: 222.9 MB / 239.9 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002098/0.002098, allocations: 278.9 kB / 290.3 MB, free: 2.164 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8947/0.8947, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 95.7 kB / 0.5948 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1286, allocations: 86.98 MB / 0.6797 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.005291/0.1339, allocations: 4.898 MB / 0.6845 GB, free: 12.04 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002922/0.1368, allocations: 2.478 MB / 0.6869 GB, free: 9.562 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000181/0.137, allocations: 23.81 kB / 0.687 GB, free: 9.539 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009127/0.1379, allocations: 366.4 kB / 0.6873 GB, free: 9.18 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006279/0.1386, allocations: 410 kB / 0.6877 GB, free: 8.777 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005961/0.1392, allocations: 370 kB / 0.6881 GB, free: 8.418 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006971/0.1399, allocations: 0.929 MB / 0.689 GB, free: 7.488 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004635/0.1404, allocations: 398.4 kB / 0.6893 GB, free: 7.094 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003064/0.1407, allocations: 342.5 kB / 0.6897 GB, free: 6.758 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003218/0.141, allocations: 362.5 kB / 0.69 GB, free: 6.402 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.023e-05/0.1411, allocations: 36 kB / 0.6901 GB, free: 6.367 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004364/0.1415, allocations: 399.1 kB / 0.6904 GB, free: 5.977 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.1417, allocations: 183.4 kB / 0.6906 GB, free: 5.797 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002183/0.1419, allocations: 322.2 kB / 0.6909 GB, free: 5.48 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006976/0.1426, allocations: 0.911 MB / 0.6918 GB, free: 4.566 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.1426, allocations: 0 / 0.6918 GB, free: 4.566 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1426, allocations: 0 / 0.6918 GB, free: 4.566 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1426, allocations: 0 / 0.6918 GB, free: 4.566 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.001054/0.1437, allocations: 0.9502 MB / 0.6927 GB, free: 3.566 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.816e-05/0.1437, allocations: 8.031 kB / 0.6927 GB, free: 3.559 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.258e-05/0.1438, allocations: 98.62 kB / 0.6928 GB, free: 3.453 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/0.1449, allocations: 195.9 kB / 0.693 GB, free: 3.262 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005318/0.1454, allocations: 0.4982 MB / 0.6935 GB, free: 2.727 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.1455, allocations: 37.36 kB / 0.6935 GB, free: 2.688 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.739e-05/0.1455, allocations: 44.36 kB / 0.6936 GB, free: 2.645 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008611/0.1464, allocations: 0.8446 MB / 0.6944 GB, free: 1.672 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.1464, allocations: 7.938 kB / 0.6944 GB, free: 1.664 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.036e-05/0.1465, allocations: 20 kB / 0.6944 GB, free: 1.645 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.361e-05/0.1466, allocations: 68.95 kB / 0.6945 GB, free: 1.578 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006865/0.1473, allocations: 0.5616 MB / 0.6951 GB, free: 1.016 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003354/0.1506, allocations: 5.666 MB / 0.7006 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005259/0.1512, allocations: 455.9 kB / 0.701 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002547/0.1514, allocations: 232.7 kB / 0.7012 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.1514, allocations: 4 kB / 0.7012 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.1515, allocations: 34.56 kB / 0.7013 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 1.332e-06/0.1515, allocations: 0 / 0.7013 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.002104/0.1536, allocations: 1.505 MB / 0.7028 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.1536, allocations: 55.69 kB / 0.7028 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000401/0.154, allocations: 0.4991 MB / 0.7033 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.1541, allocations: 29.7 kB / 0.7033 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.1542, allocations: 366.8 kB / 0.7037 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.195e-05/0.1543, allocations: 122.3 kB / 0.7038 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.1544, allocations: 110.2 kB / 0.7039 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1546, allocations: 366.8 kB / 0.7042 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002422/0.1548, allocations: 193.2 kB / 0.7044 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003625/0.1552, allocations: 455.3 kB / 0.7049 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006546/0.1558, allocations: 0.6921 MB / 0.7055 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.1558, allocations: 4 kB / 0.7055 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001056/0.1569, allocations: 0.8017 MB / 0.7063 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.1569, allocations: 12 kB / 0.7063 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.1569, allocations: 8 kB / 0.7063 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004014/0.1573, allocations: 156.2 kB / 0.7065 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003986/0.1578, allocations: 127.8 kB / 0.7066 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002616/0.1604, allocations: 4.333 MB / 0.7108 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002982/0.1607, allocations: 31.97 kB / 0.7109 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.344e-05/0.1607, allocations: 28 kB / 0.7109 GB, free: 15.52 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.0001934/0.1609, allocations: 228.5 kB / 0.7111 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.331e-05/0.161, allocations: 63.25 kB / 0.7112 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008776/0.1619, allocations: 0.593 MB / 0.7118 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1619, allocations: 8 kB / 0.7118 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1619, allocations: 4 kB / 0.7118 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1619, allocations: 3.984 kB / 0.7118 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/0.1634, allocations: 1.267 MB / 0.713 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.1634, allocations: 4 kB / 0.713 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002259/0.1636, allocations: 55.89 kB / 0.7131 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003538/0.164, allocations: 144.3 kB / 0.7132 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.164, allocations: 11.94 kB / 0.7132 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002555/0.1666, allocations: 4.333 MB / 0.7174 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.1666, allocations: 7.938 kB / 0.7175 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008121/0.1674, allocations: 0.7082 MB / 0.7181 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/0.1676, allocations: 168.3 kB / 0.7183 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.986e-05/0.1677, allocations: 11.98 kB / 0.7183 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.1679, allocations: 27.84 kB / 0.7183 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.938e-05/0.168, allocations: 31.91 kB / 0.7184 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.168, allocations: 12 kB / 0.7184 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000285/0.1683, allocations: 342.8 kB / 0.7187 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1683, allocations: 0 / 0.7187 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005012/0.1688, allocations: 136 kB / 0.7188 GB, free: 6.758 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.001065/0.1699, allocations: 1.26 MB / 0.7201 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001177/0.171, allocations: 1.072 MB / 0.7211 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1711, allocations: 4 kB / 0.7211 GB, free: 4.273 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006897/0.1718, allocations: 0.7416 MB / 0.7218 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008431/0.1726, allocations: 206.7 kB / 0.722 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005311/0.1779, allocations: 5.463 MB / 0.7274 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.1783, allocations: 0.9098 MB / 0.7283 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002791/0.1786, allocations: 113.3 kB / 0.7284 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/0.1788, allocations: 195.4 kB / 0.7286 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of SimCode: time 2.5e-07/0.1788, allocations: 4 kB / 0.7286 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.177/2.355, allocations: 12.68 MB / 0.741 GB, free: 15.8 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002203/2.356, allocations: 254.3 kB / 0.7412 GB, free: 15.55 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.925/4.281, allocations: 7.234 kB / 0.7412 GB, free: 15.55 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)