Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.0009231/0.0009232, 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.0009115/0.0009115, allocations: 192.8 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.137/1.137, allocations: 205.1 MB / 222.1 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.588/1.588, allocations: 292.3 MB / 0.5486 GB, free: 13.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 74.94 kB / 0.6711 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1718, allocations: 114.5 MB / 0.783 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01367/0.1855, allocations: 13.84 MB / 0.7965 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01108/0.1966, allocations: 9.394 MB / 0.8057 GB, free: 6.508 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006216/0.1972, allocations: 55.62 kB / 0.8057 GB, free: 6.453 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003331/0.2006, allocations: 1.564 MB / 0.8073 GB, free: 4.887 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002662/0.2033, allocations: 1.416 MB / 0.8086 GB, free: 3.473 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.2046, allocations: 0.6818 MB / 0.8093 GB, free: 2.793 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002115/0.2067, allocations: 2.524 MB / 0.8118 GB, free: 268 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001612/0.2083, allocations: 1.578 MB / 0.8133 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009886/0.2093, allocations: 1.066 MB / 0.8144 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001124/0.2105, allocations: 1.183 MB / 0.8155 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001888/0.2107, allocations: 164 kB / 0.8157 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.2117, allocations: 0.7877 MB / 0.8164 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004594/0.2122, allocations: 0.6154 MB / 0.817 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007025/0.2129, allocations: 0.9445 MB / 0.818 GB, free: 9.875 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002069/0.215, allocations: 2.784 MB / 0.8207 GB, free: 7.082 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.215, allocations: 0 / 0.8207 GB, free: 7.082 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.333e-06/0.215, allocations: 0 / 0.8207 GB, free: 7.082 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.551e-05/0.215, allocations: 0 / 0.8207 GB, free: 7.082 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003205/0.2182, allocations: 2.135 MB / 0.8228 GB, free: 4.891 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.2183, allocations: 12.03 kB / 0.8228 GB, free: 4.879 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002079/0.2185, allocations: 198.4 kB / 0.823 GB, free: 4.676 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01041/0.2289, allocations: 2.081 MB / 0.825 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001846/0.2308, allocations: 1.197 MB / 0.8262 GB, free: 1.336 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.528e-05/0.2308, allocations: 90.73 kB / 0.8262 GB, free: 1.246 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002114/0.231, allocations: 119.9 kB / 0.8264 GB, free: 1.129 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004954/0.236, allocations: 2.686 MB / 0.829 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.456e-05/0.236, allocations: 7.938 kB / 0.829 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001536/0.2362, allocations: 51.98 kB / 0.829 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005477/0.2368, allocations: 178.1 kB / 0.8292 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006648/0.2434, allocations: 2.799 MB / 0.8319 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01193/0.2553, allocations: 10.51 MB / 0.8422 GB, free: 156 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006098/0.2615, allocations: 2.528 MB / 0.8447 GB, free: 13.55 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0028/0.2643, allocations: 1.284 MB / 0.8459 GB, free: 12.27 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 6.627e-05/0.2643, allocations: 17 kB / 0.846 GB, free: 12.25 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.2644, allocations: 43.56 kB / 0.846 GB, free: 12.2 MB / 0.67 GB Notification: Performance of pre-optimization done (n=89): time 3.326e-06/0.2644, allocations: 0 / 0.846 GB, free: 12.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=131): time 0.04161/0.306, allocations: 13.35 MB / 0.859 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.3061, allocations: 68.72 kB / 0.8591 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.3072, allocations: 1.117 MB / 0.8602 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000116/0.3073, allocations: 49.7 kB / 0.8602 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004236/0.3077, allocations: 0.7155 MB / 0.8609 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003417/0.3081, allocations: 449.5 kB / 0.8614 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000466/0.3086, allocations: 267.4 kB / 0.8616 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.3087, allocations: 361.8 kB / 0.862 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00296/0.3116, allocations: 1.343 MB / 0.8633 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003097/0.3147, allocations: 1.604 MB / 0.8648 GB, free: 8.523 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006109/0.3209, allocations: 2.991 MB / 0.8678 GB, free: 5.438 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.3209, allocations: 4 kB / 0.8678 GB, free: 5.434 MB / 0.6856 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.0104/0.3313, allocations: 4.446 MB / 0.8721 GB, free: 0.9336 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.3313, allocations: 8 kB / 0.8721 GB, free: 0.9258 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.3313, allocations: 8 kB / 0.8721 GB, free: 0.918 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004907/0.3362, allocations: 1.439 MB / 0.8735 GB, free: 15.44 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001834/0.3381, allocations: 439.2 kB / 0.8739 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02363/0.3617, allocations: 26.7 MB / 0.9 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002105/0.3639, allocations: 303.5 kB / 0.9003 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001376/0.364, allocations: 63.97 kB / 0.9004 GB, free: 2.109 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006921/0.3647, allocations: 432.4 kB / 0.9008 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002627/0.365, allocations: 162.1 kB / 0.9009 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01054/0.3755, allocations: 4.457 MB / 0.9053 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.3755, allocations: 12 kB / 0.9053 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/0.3756, allocations: 16 kB / 0.9053 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.3756, allocations: 3.984 kB / 0.9053 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01312/0.3887, allocations: 6.763 MB / 0.9119 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.3887, allocations: 4 kB / 0.9119 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001632/0.3904, allocations: 383.6 kB / 0.9123 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00436/0.3947, allocations: 1.322 MB / 0.9136 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001144/0.3948, allocations: 35.97 kB / 0.9136 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3245/0.7193, allocations: 25.49 MB / 0.9385 GB, free: 112.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.7194, allocations: 5.875 kB / 0.9385 GB, free: 112.1 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009727/0.7291, allocations: 4.203 MB / 0.9426 GB, free: 110.7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007691/0.7299, allocations: 463.4 kB / 0.9431 GB, free: 110.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000231/0.7301, allocations: 24.67 kB / 0.9431 GB, free: 110.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001823/0.732, allocations: 305.5 kB / 0.9434 GB, free: 110.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000468/0.7325, allocations: 129.3 kB / 0.9435 GB, free: 110.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/0.7326, allocations: 47.36 kB / 0.9436 GB, free: 110.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008872/0.7335, allocations: 0.7487 MB / 0.9443 GB, free: 110.1 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7335, allocations: 0 / 0.9443 GB, free: 110.1 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001641/0.7351, allocations: 0.5715 MB / 0.9448 GB, free: 110.1 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0105/0.7456, allocations: 4.799 MB / 0.9495 GB, free: 108.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01025/0.7559, allocations: 5.52 MB / 0.9549 GB, free: 105.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.7559, allocations: 1.094 kB / 0.9549 GB, free: 105.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005634/0.7615, allocations: 3.483 MB / 0.9583 GB, free: 103.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001985/0.7635, allocations: 0.551 MB / 0.9589 GB, free: 103.4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03381/0.7974, allocations: 20.93 MB / 0.9793 GB, free: 91.79 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007451/0.7981, allocations: 1.473 MB / 0.9807 GB, free: 90.72 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001402/0.7995, allocations: 424.2 kB / 0.9811 GB, free: 90.52 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006661/0.8002, allocations: 0.6336 MB / 0.9818 GB, free: 89.97 MB / 0.7325 GB Notification: Performance of SimCode: time 6.81e-07/0.8002, allocations: 0 / 0.9818 GB, free: 89.97 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.603/7.403, allocations: 51.44 MB / 1.032 GB, free: 39.38 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002203/7.403, allocations: 246.5 kB / 1.032 GB, free: 39.12 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.911/10.31, allocations: 0 / 1.032 GB, free: 39.12 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)