Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.692/1.692, allocations: 287.4 MB / 302.6 MB, free: 8.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 180.8 kB / 371.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.422/1.422, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007361/0.0007359, allocations: 95.56 kB / 0.7431 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003872/0.0003871, allocations: 11.91 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1866, allocations: 115.3 MB / 0.9788 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.0214/0.2081, allocations: 30.2 MB / 1.008 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01867/0.2268, allocations: 14 MB / 1.022 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002572/0.2294, allocations: 131.2 kB / 1.022 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001756/0.2312, allocations: 0.7053 MB / 1.023 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.005577/0.2368, allocations: 2.402 MB / 1.025 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004314/0.2411, allocations: 1.379 MB / 1.026 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01458/0.2557, allocations: 9.805 MB / 1.036 GB, free: 1.301 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01766/0.2734, allocations: 11.37 MB / 1.047 GB, free: 5.828 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005169/0.2786, allocations: 2.927 MB / 1.05 GB, free: 2.891 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005362/0.284, allocations: 3.395 MB / 1.053 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001079/0.2851, allocations: 296 kB / 1.054 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003257/0.2884, allocations: 0.8077 MB / 1.054 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.00286/0.2913, allocations: 2.272 MB / 1.057 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001997/0.2933, allocations: 1.124 MB / 1.058 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.008126/0.3014, allocations: 9.163 MB / 1.067 GB, free: 1.789 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3014, allocations: 3.938 kB / 1.067 GB, free: 1.785 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3014, allocations: 0 / 1.067 GB, free: 1.785 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001742/0.3016, allocations: 0 / 1.067 GB, free: 1.785 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.3499/0.6515, allocations: 4.819 MB / 1.071 GB, free: 81.27 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.6515, allocations: 13.94 kB / 1.071 GB, free: 81.27 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002472/0.654, allocations: 0.7272 MB / 1.072 GB, free: 80.88 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00732/0.6614, allocations: 1.143 MB / 1.073 GB, free: 80.56 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008358/0.6697, allocations: 3.325 MB / 1.076 GB, free: 78.88 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004625/0.6702, allocations: 371.8 kB / 1.077 GB, free: 78.72 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001927/0.6722, allocations: 499.2 kB / 1.077 GB, free: 78.56 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01974/0.6919, allocations: 7.966 MB / 1.085 GB, free: 75.27 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001336/0.6921, allocations: 22.25 kB / 1.085 GB, free: 75.26 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004869/0.6926, allocations: 216.6 kB / 1.085 GB, free: 75.11 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001134/0.6937, allocations: 438.4 kB / 1.086 GB, free: 75.07 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01054/0.7043, allocations: 6.049 MB / 1.092 GB, free: 72.94 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03174/0.7361, allocations: 35.22 MB / 1.126 GB, free: 42.46 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002586/0.7387, allocations: 2.019 MB / 1.128 GB, free: 41.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002266/0.741, allocations: 1.851 MB / 1.13 GB, free: 40.43 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/0.7411, allocations: 19.27 kB / 1.13 GB, free: 40.43 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.402e-05/0.7412, allocations: 56.97 kB / 1.13 GB, free: 40.38 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=171): time 3.827e-06/0.7412, allocations: 1.656 kB / 1.13 GB, free: 40.38 MB / 0.6823 GB Notification: Performance of matching and sorting (n=276): time 0.129/0.8702, allocations: 39 MB / 1.168 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.8702, allocations: 79.83 kB / 1.168 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002526/0.8728, allocations: 2.262 MB / 1.17 GB, free: 3.93 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003653/0.8732, allocations: 73.7 kB / 1.17 GB, free: 3.852 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001023/0.8742, allocations: 2.273 MB / 1.172 GB, free: 1.559 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008026/0.875, allocations: 0.929 MB / 1.173 GB, free: 0.6367 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/0.8752, allocations: 60 kB / 1.173 GB, free: 0.5781 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.8753, allocations: 428.1 kB / 1.174 GB, free: 156 kB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002912/0.8782, allocations: 1.966 MB / 1.176 GB, free: 14.18 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003497/0.8818, allocations: 2.587 MB / 1.178 GB, free: 11.35 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006796/0.8886, allocations: 4.906 MB / 1.183 GB, free: 6.172 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.878e-05/0.8886, allocations: 11.98 kB / 1.183 GB, free: 6.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.014/0.9026, allocations: 7.726 MB / 1.191 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.326e-05/0.9027, allocations: 16.91 kB / 1.191 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.802e-05/0.9027, allocations: 20 kB / 1.191 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008681/0.9114, allocations: 3.199 MB / 1.194 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001572/0.913, allocations: 408.2 kB / 1.194 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03973/0.9528, allocations: 31.11 MB / 1.225 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002678/0.9555, allocations: 163.8 kB / 1.225 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002542/0.9557, allocations: 108 kB / 1.225 GB, free: 10.55 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(10,71.0%) 28,(10,65.0%) 28,(6,77.8%) 24,(6,77.8%) 24,(5,92.0%) 17,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00278/0.9585, allocations: 1.797 MB / 1.227 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004947/0.959, allocations: 332.1 kB / 1.227 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01244/0.9715, allocations: 7.349 MB / 1.234 GB, free: 0.9844 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/0.9715, allocations: 24 kB / 1.234 GB, free: 0.9609 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.741e-05/0.9716, allocations: 32 kB / 1.234 GB, free: 0.9297 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.085e-05/0.9716, allocations: 15.94 kB / 1.234 GB, free: 0.9141 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01997/0.9916, allocations: 12.9 MB / 1.247 GB, free: 3.871 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-05/0.9916, allocations: 11.94 kB / 1.247 GB, free: 3.859 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008685/0.9925, allocations: 235.1 kB / 1.247 GB, free: 3.633 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007912/1, allocations: 2.848 MB / 1.25 GB, free: 0.7695 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004095/1.001, allocations: 48 kB / 1.25 GB, free: 0.7227 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03857/1.039, allocations: 29.92 MB / 1.279 GB, free: 2.016 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/1.039, allocations: 8 kB / 1.279 GB, free: 2.008 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0117/1.051, allocations: 6.867 MB / 1.286 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001885/1.053, allocations: 0.7821 MB / 1.286 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005236/1.054, allocations: 63.92 kB / 1.287 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001621/1.055, allocations: 163.8 kB / 1.287 GB, free: 9.898 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007167/1.056, allocations: 253.5 kB / 1.287 GB, free: 9.652 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001699/1.056, allocations: 76 kB / 1.287 GB, free: 9.578 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.002093/1.058, allocations: 1.502 MB / 1.288 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.7e-07/1.058, allocations: 0 / 1.288 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.004362/1.063, allocations: 1.352 MB / 1.29 GB, free: 6.723 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(5,84.0%) 17,(6,77.8%) 24,(10,65.0%) 28,(5,92.0%) 17,(6,77.8%) 24,(10,65.0%) 28} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01186/1.075, allocations: 7.49 MB / 1.297 GB, free: 15.01 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01151/1.086, allocations: 6.919 MB / 1.304 GB, free: 8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.617e-05/1.086, allocations: 4.703 kB / 1.304 GB, free: 7.996 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.007509/1.094, allocations: 4.415 MB / 1.308 GB, free: 3.512 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007205/1.101, allocations: 1.015 MB / 1.309 GB, free: 2.516 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0524/1.153, allocations: 32.29 MB / 1.341 GB, free: 0.6836 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00381/1.157, allocations: 3.647 MB / 1.344 GB, free: 13 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002068/1.159, allocations: 0.5595 MB / 1.345 GB, free: 12.44 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002042/1.161, allocations: 1.972 MB / 1.347 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of SimCode: time 7.22e-07/1.161, allocations: 0 / 1.347 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.271/2.432, allocations: 107.3 MB / 1.452 GB, free: 300.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001643/2.432, allocations: 229.3 kB / 1.452 GB, free: 300.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.411/7.843, allocations: 1.969 kB / 1.452 GB, free: 300.3 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)