Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_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.001187/0.001187, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001292/0.001292, allocations: 193.1 kB / 16.14 MB, free: 6.707 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.291/1.291, allocations: 222.9 MB / 239.8 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002051/0.002051, allocations: 283.1 kB / 290.2 MB, free: 2.16 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9402/0.9402, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 91.36 kB / 0.5946 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1415, allocations: 86.98 MB / 0.6796 GB, free: 1.039 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01682/0.1584, allocations: 15.89 MB / 0.6951 GB, free: 1.109 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007948/0.1664, allocations: 4.832 MB / 0.6998 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.1677, allocations: 59.62 kB / 0.6999 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002348/0.1701, allocations: 0.9521 MB / 0.7008 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001767/0.1718, allocations: 0.6963 MB / 0.7015 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002034/0.1739, allocations: 0.8453 MB / 0.7023 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005217/0.1791, allocations: 5.256 MB / 0.7074 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007055/0.1862, allocations: 5.436 MB / 0.7127 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002022/0.1883, allocations: 1.339 MB / 0.714 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002533/0.1908, allocations: 1.811 MB / 0.7158 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004718/0.1913, allocations: 240 kB / 0.716 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001608/0.1929, allocations: 0.8268 MB / 0.7168 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001227/0.1941, allocations: 1.224 MB / 0.718 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001556/0.1957, allocations: 1.346 MB / 0.7194 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004937/0.2007, allocations: 5.048 MB / 0.7243 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.2007, allocations: 0 / 0.7243 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.963e-06/0.2007, allocations: 0 / 0.7243 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001233/0.2008, allocations: 0 / 0.7243 GB, free: 3.078 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.004926/0.2058, allocations: 2.654 MB / 0.7269 GB, free: 372 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.2058, allocations: 12.03 kB / 0.7269 GB, free: 360 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004772/0.2063, allocations: 374.5 kB / 0.7272 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003764/0.2101, allocations: 0.8251 MB / 0.728 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002495/0.2126, allocations: 1.505 MB / 0.7295 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/0.2127, allocations: 177.1 kB / 0.7297 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003828/0.2131, allocations: 236.3 kB / 0.7299 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006893/0.22, allocations: 4.157 MB / 0.734 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.704e-05/0.2201, allocations: 4 kB / 0.734 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002447/0.2203, allocations: 104 kB / 0.7341 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001748/0.2205, allocations: 168.5 kB / 0.7342 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005586/0.2261, allocations: 3.636 MB / 0.7378 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01667/0.2428, allocations: 16.54 MB / 0.7539 GB, free: 3 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002963/0.2458, allocations: 2.292 MB / 0.7562 GB, free: 0.5 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007785/0.2466, allocations: 0.5764 MB / 0.7567 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001225/0.2467, allocations: 97.56 kB / 0.7568 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.2468, allocations: 43.12 kB / 0.7569 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=72): time 2.345e-06/0.2468, allocations: 0 / 0.7569 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76): time 0.004816/0.2516, allocations: 3.432 MB / 0.7602 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.2517, allocations: 119.4 kB / 0.7603 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.2528, allocations: 1.014 MB / 0.7613 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.348e-05/0.2528, allocations: 37.7 kB / 0.7614 GB, free: 11 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005854/0.2534, allocations: 1.107 MB / 0.7624 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001852/0.2536, allocations: 272.2 kB / 0.7627 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003483/0.254, allocations: 275.2 kB / 0.763 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.2541, allocations: 418.7 kB / 0.7634 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008324/0.255, allocations: 0.6167 MB / 0.764 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001149/0.2561, allocations: 1.185 MB / 0.7651 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002004/0.2582, allocations: 1.864 MB / 0.767 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/0.2582, allocations: 8 kB / 0.767 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002876/0.2611, allocations: 2.011 MB / 0.7689 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.2611, allocations: 12 kB / 0.7689 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.342e-05/0.2611, allocations: 20 kB / 0.769 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003953/0.2615, allocations: 163.8 kB / 0.7691 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.2626, allocations: 347.5 kB / 0.7694 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-05/0.2626, allocations: 39.86 kB / 0.7695 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009215/0.2635, allocations: 139.5 kB / 0.7696 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.163e-05/0.2636, allocations: 79.97 kB / 0.7697 GB, free: 1.879 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001166/0.2648, allocations: 0.9745 MB / 0.7706 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001927/0.265, allocations: 106.7 kB / 0.7707 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2548/0.5198, allocations: 1.227 MB / 0.7719 GB, free: 89.39 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.058e-05/0.5198, allocations: 9.031 kB / 0.7719 GB, free: 89.39 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/0.5199, allocations: 2.828 kB / 0.7719 GB, free: 89.39 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.5199, allocations: 5.594 kB / 0.772 GB, free: 89.39 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005936/0.5258, allocations: 3.806 MB / 0.7757 GB, free: 88.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.186e-06/0.5259, allocations: 8.5 kB / 0.7757 GB, free: 88.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005808/0.5264, allocations: 158 kB / 0.7758 GB, free: 88.17 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003245/0.5268, allocations: 138.9 kB / 0.776 GB, free: 88.11 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.618e-05/0.5268, allocations: 19.88 kB / 0.776 GB, free: 88.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.707e-06/0.5269, allocations: 5.156 kB / 0.776 GB, free: 88.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.5269, allocations: 13.22 kB / 0.776 GB, free: 88.09 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/0.5286, allocations: 1.456 MB / 0.7774 GB, free: 87.38 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003832/0.529, allocations: 277.9 kB / 0.7777 GB, free: 87.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/0.5291, allocations: 15.84 kB / 0.7777 GB, free: 87.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000542/0.5297, allocations: 76.34 kB / 0.7778 GB, free: 87.21 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.5298, allocations: 59.16 kB / 0.7778 GB, free: 87.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.716e-05/0.5299, allocations: 28.12 kB / 0.7779 GB, free: 87.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008548/0.5307, allocations: 0.6978 MB / 0.7785 GB, free: 86.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5308, allocations: 0 / 0.7785 GB, free: 86.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001601/0.5324, allocations: 383.9 kB / 0.7789 GB, free: 86.88 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002174/0.5345, allocations: 2.039 MB / 0.7809 GB, free: 85.61 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00209/0.5367, allocations: 1.713 MB / 0.7826 GB, free: 84.75 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.5367, allocations: 0 / 0.7826 GB, free: 84.75 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008307/0.5375, allocations: 0.8618 MB / 0.7834 GB, free: 84.17 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/0.5389, allocations: 241.5 kB / 0.7836 GB, free: 84.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01911/0.558, allocations: 14.3 MB / 0.7976 GB, free: 75.69 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001694/0.5597, allocations: 1.922 MB / 0.7995 GB, free: 74.71 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001192/0.5609, allocations: 452.1 kB / 0.7999 GB, free: 74.67 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006753/0.5616, allocations: 0.7136 MB / 0.8006 GB, free: 74.09 MB / 0.5606 GB Notification: Performance of SimCode: time 9.62e-07/0.5616, allocations: 0 / 0.8006 GB, free: 74.09 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03881/0.6004, allocations: 26.75 MB / 0.8267 GB, free: 56.26 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001704/0.6006, allocations: 263.3 kB / 0.827 GB, free: 55.97 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.051/2.652, allocations: 0 / 0.827 GB, free: 55.97 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)