Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.435/1.435, allocations: 249.5 MB / 257 MB, free: 6.906 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001037/0.001037, allocations: 183.2 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.471/1.471, allocations: 205.3 MB / 0.5671 GB, free: 15.89 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008269/0.0008267, allocations: 96.48 kB / 0.6714 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.979e-05/1.963e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1976, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7765/0.9741, allocations: 201 MB / 1.082 GB, free: 3.648 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/0.9745, allocations: 98.22 kB / 1.082 GB, free: 3.598 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2169/1.191, allocations: 83.85 MB / 1.164 GB, free: 8.332 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.563e-06/1.191, allocations: 0 / 1.164 GB, free: 8.332 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002155/1.192, allocations: 47.92 kB / 1.164 GB, free: 8.285 MB / 0.7761 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.005119/1.197, allocations: 1.583 MB / 1.165 GB, free: 6.652 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/1.197, allocations: 11.97 kB / 1.165 GB, free: 6.641 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01198/1.209, allocations: 1.878 MB / 1.167 GB, free: 4.758 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003934/1.213, allocations: 1.216 MB / 1.168 GB, free: 3.484 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-05/1.213, allocations: 36 kB / 1.168 GB, free: 3.449 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006588/1.214, allocations: 83.88 kB / 1.168 GB, free: 3.367 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004/1.218, allocations: 1.699 MB / 1.17 GB, free: 1.664 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005203/1.223, allocations: 2.057 MB / 1.172 GB, free: 15.42 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.221e-05/1.223, allocations: 11.94 kB / 1.172 GB, free: 15.41 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003543/1.223, allocations: 11.95 kB / 1.172 GB, free: 15.4 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001349/1.224, allocations: 82.28 kB / 1.172 GB, free: 15.32 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01885/1.242, allocations: 10.42 MB / 1.182 GB, free: 4.316 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002868/1.245, allocations: 1.66 MB / 1.184 GB, free: 2.598 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001228/1.247, allocations: 0.8816 MB / 1.185 GB, free: 1.711 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 9.344e-05/1.247, allocations: 20.72 kB / 1.185 GB, free: 1.691 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.733e-05/1.247, allocations: 43.34 kB / 1.185 GB, free: 1.641 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=89): time 3.316e-06/1.247, allocations: 0 / 1.185 GB, free: 1.641 MB / 0.7917 GB Notification: Performance of matching and sorting (n=131): time 0.01494/1.262, allocations: 5.728 MB / 1.19 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001465/1.262, allocations: 222.9 kB / 1.191 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/1.264, allocations: 0.7545 MB / 1.191 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0002339/1.264, allocations: 29.7 kB / 1.191 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006786/1.265, allocations: 0.7105 MB / 1.192 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006458/1.265, allocations: 433.4 kB / 1.192 GB, free: 9.648 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/1.265, allocations: 4 kB / 1.192 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001907/1.266, allocations: 357.9 kB / 1.193 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001457/1.267, allocations: 0.928 MB / 1.194 GB, free: 8.359 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001688/1.269, allocations: 1.187 MB / 1.195 GB, free: 7.074 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002048/1.271, allocations: 1.08 MB / 1.196 GB, free: 5.992 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/1.271, allocations: 0 / 1.196 GB, free: 5.992 MB / 0.8073 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.008807/1.28, allocations: 3.62 MB / 1.199 GB, free: 2.32 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.646e-05/1.28, allocations: 12.69 kB / 1.199 GB, free: 2.309 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/1.28, allocations: 4 kB / 1.2 GB, free: 2.305 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006887/1.287, allocations: 1.572 MB / 1.201 GB, free: 0.6914 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002262/1.289, allocations: 447.2 kB / 1.201 GB, free: 260 kB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02815/1.317, allocations: 23.89 MB / 1.225 GB, free: 6.867 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002962/1.32, allocations: 295.6 kB / 1.225 GB, free: 6.578 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003365/1.32, allocations: 59.91 kB / 1.225 GB, free: 6.52 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 82 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003851/1.321, allocations: 132.7 kB / 1.225 GB, free: 6.383 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008221/1.329, allocations: 3.417 MB / 1.229 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006421/1.33, allocations: 146.3 kB / 1.229 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008887/1.339, allocations: 3.671 MB / 1.232 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.341e-05/1.339, allocations: 16 kB / 1.232 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-05/1.339, allocations: 12 kB / 1.232 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.277e-05/1.339, allocations: 7.922 kB / 1.232 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01301/1.352, allocations: 5.961 MB / 1.238 GB, free: 8.902 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/1.352, allocations: 4 kB / 1.238 GB, free: 8.898 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001952/1.354, allocations: 383.4 kB / 1.239 GB, free: 8.523 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005967/1.36, allocations: 1.478 MB / 1.24 GB, free: 7.004 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002344/1.36, allocations: 19.97 kB / 1.24 GB, free: 6.984 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5366/1.897, allocations: 22.9 MB / 1.262 GB, free: 261 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.251e-05/1.897, allocations: 6.641 kB / 1.262 GB, free: 261 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009826/1.907, allocations: 3.611 MB / 1.266 GB, free: 260.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001212/1.908, allocations: 452.9 kB / 1.266 GB, free: 260.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002356/1.908, allocations: 7.797 kB / 1.266 GB, free: 260.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002266/1.91, allocations: 304 kB / 1.267 GB, free: 260.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004495/1.911, allocations: 120.6 kB / 1.267 GB, free: 260.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001356/1.911, allocations: 52.86 kB / 1.267 GB, free: 260.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009276/1.912, allocations: 0.5751 MB / 1.267 GB, free: 260.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.3e-07/1.912, allocations: 0 / 1.267 GB, free: 260.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002521/1.915, allocations: 0.5376 MB / 1.268 GB, free: 260.3 MB / 0.8698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(3,100.0%) 9,(3,100.0%) 7,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009546/1.924, allocations: 4.954 MB / 1.273 GB, free: 258.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.006857/1.931, allocations: 4.153 MB / 1.277 GB, free: 257.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.467e-06/1.931, allocations: 4.406 kB / 1.277 GB, free: 257.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.004808/1.936, allocations: 2.985 MB / 1.28 GB, free: 255.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002328/1.938, allocations: 438.1 kB / 1.28 GB, free: 255.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006733/1.945, allocations: 3.121 MB / 1.283 GB, free: 255.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001427/1.946, allocations: 1.509 MB / 1.285 GB, free: 254.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001769/1.948, allocations: 405.5 kB / 1.285 GB, free: 254.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008221/1.949, allocations: 0.618 MB / 1.286 GB, free: 254.3 MB / 0.8698 GB Notification: Performance of SimCode: time 8.32e-07/1.949, allocations: 0 / 1.286 GB, free: 254.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09233/2.041, allocations: 46.86 MB / 1.331 GB, free: 252.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002156/2.042, allocations: 165.3 kB / 1.332 GB, free: 252.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.234/5.276, allocations: 2.969 kB / 1.332 GB, free: 252.3 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)