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.001309/0.001309, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001378/0.001378, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.84/1.84, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005759/0.0005761, allocations: 19 kB / 0.6738 GB, free: 25.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2716, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01506/0.2867, allocations: 12.56 MB / 0.7997 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01486/0.3016, allocations: 8.829 MB / 0.8083 GB, free: 6.391 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002432/0.3041, allocations: 55.62 kB / 0.8084 GB, free: 6.336 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001821/0.3059, allocations: 269.8 kB / 0.8086 GB, free: 6.07 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006581/0.3125, allocations: 1.266 MB / 0.8099 GB, free: 4.801 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002345/0.3149, allocations: 0.5177 MB / 0.8104 GB, free: 4.285 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004517/0.3194, allocations: 2.672 MB / 0.813 GB, free: 1.605 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004214/0.3237, allocations: 1.801 MB / 0.8147 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002167/0.3259, allocations: 0.8442 MB / 0.8156 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002278/0.3281, allocations: 1.024 MB / 0.8166 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002831/0.3284, allocations: 72 kB / 0.8166 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001361/0.3298, allocations: 439.4 kB / 0.817 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005438/0.3304, allocations: 0.5023 MB / 0.8175 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005179/0.3309, allocations: 344.8 kB / 0.8179 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002305/0.3332, allocations: 2.127 MB / 0.8199 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3332, allocations: 0 / 0.8199 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.494e-06/0.3332, allocations: 0 / 0.8199 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.973e-05/0.3333, allocations: 0 / 0.8199 GB, free: 10.41 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.003691/0.337, allocations: 1.824 MB / 0.8217 GB, free: 8.527 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.192e-05/0.3371, allocations: 12.02 kB / 0.8217 GB, free: 8.516 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003182/0.3374, allocations: 190.2 kB / 0.8219 GB, free: 8.32 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01027/0.3477, allocations: 2.147 MB / 0.824 GB, free: 6.168 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002948/0.3507, allocations: 1.158 MB / 0.8251 GB, free: 4.953 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.557e-05/0.3508, allocations: 94.3 kB / 0.8252 GB, free: 4.859 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002611/0.351, allocations: 119.9 kB / 0.8253 GB, free: 4.742 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005735/0.3568, allocations: 2.698 MB / 0.828 GB, free: 1.895 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.76e-05/0.3569, allocations: 0 / 0.828 GB, free: 1.895 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001774/0.357, allocations: 59.92 kB / 0.828 GB, free: 1.836 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005521/0.3576, allocations: 186.1 kB / 0.8282 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006888/0.3645, allocations: 2.842 MB / 0.831 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0149/0.3795, allocations: 10.57 MB / 0.8413 GB, free: 3.648 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006042/0.3855, allocations: 2.576 MB / 0.8438 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002943/0.3885, allocations: 1.299 MB / 0.8451 GB, free: 15.7 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 8.815e-05/0.3886, allocations: 16.98 kB / 0.8451 GB, free: 15.68 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.417e-05/0.3887, allocations: 43.56 kB / 0.8451 GB, free: 15.63 MB / 0.67 GB Notification: Performance of pre-optimization done (n=89): time 3.086e-06/0.3887, allocations: 0 / 0.8451 GB, free: 15.63 MB / 0.67 GB Notification: Performance of matching and sorting (n=131): time 0.04058/0.4293, allocations: 13.44 MB / 0.8583 GB, free: 1.973 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/0.4294, allocations: 72.72 kB / 0.8583 GB, free: 1.887 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001481/0.4309, allocations: 1.101 MB / 0.8594 GB, free: 0.7695 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001481/0.4311, allocations: 45.7 kB / 0.8595 GB, free: 0.7188 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005204/0.4316, allocations: 0.7157 MB / 0.8602 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004464/0.432, allocations: 453.4 kB / 0.8606 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.4322, allocations: 28 kB / 0.8606 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.4323, allocations: 361.7 kB / 0.861 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002918/0.4352, allocations: 1.358 MB / 0.8623 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003042/0.4383, allocations: 1.62 MB / 0.8639 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003058/0.4414, allocations: 1.458 MB / 0.8653 GB, free: 10.63 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.4414, allocations: 4 kB / 0.8653 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01021/0.4516, allocations: 4.463 MB / 0.8697 GB, free: 6.109 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.7e-05/0.4517, allocations: 11.95 kB / 0.8697 GB, free: 6.098 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.4517, allocations: 8 kB / 0.8697 GB, free: 6.09 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004611/0.4563, allocations: 1.423 MB / 0.8711 GB, free: 4.625 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00187/0.4582, allocations: 447.2 kB / 0.8715 GB, free: 4.188 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02504/0.4833, allocations: 24.52 MB / 0.8954 GB, free: 9.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002842/0.4862, allocations: 315.8 kB / 0.8957 GB, free: 9.609 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001829/0.4864, allocations: 71.89 kB / 0.8958 GB, free: 9.539 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 (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 {(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001224/0.4876, allocations: 440.5 kB / 0.8962 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004006/0.488, allocations: 166 kB / 0.8964 GB, free: 8.938 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01082/0.4988, allocations: 4.477 MB / 0.9008 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.958e-05/0.4989, allocations: 20 kB / 0.9008 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.702e-05/0.4989, allocations: 12 kB / 0.9008 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.896e-05/0.499, allocations: 7.969 kB / 0.9008 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01441/0.5134, allocations: 6.802 MB / 0.9074 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-05/0.5134, allocations: 4 kB / 0.9074 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001715/0.5152, allocations: 391.6 kB / 0.9078 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004283/0.5195, allocations: 1.298 MB / 0.9091 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001849/0.5197, allocations: 43.97 kB / 0.9091 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4559/0.9756, allocations: 23.48 MB / 0.9321 GB, free: 114.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.074e-06/0.9757, allocations: 7.312 kB / 0.9321 GB, free: 114.6 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009784/0.9855, allocations: 4.23 MB / 0.9362 GB, free: 114.2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/0.9866, allocations: 461.3 kB / 0.9366 GB, free: 114.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002292/0.9868, allocations: 29.23 kB / 0.9367 GB, free: 114.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001849/0.9887, allocations: 316.4 kB / 0.937 GB, free: 114.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005333/0.9892, allocations: 123.1 kB / 0.9371 GB, free: 114.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00014/0.9894, allocations: 53.58 kB / 0.9371 GB, free: 114.1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001249/0.9906, allocations: 0.746 MB / 0.9379 GB, free: 114 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9906, allocations: 0 / 0.9379 GB, free: 114 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002561/0.9932, allocations: 0.5678 MB / 0.9384 GB, free: 114 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 (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,(2,100.0%) 4,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(2,100.0%) 4,(3,100.0%) 9,(2,100.0%) 4,(3,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01011/1.003, allocations: 4.818 MB / 0.9431 GB, free: 112.6 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01081/1.014, allocations: 5.147 MB / 0.9481 GB, free: 110.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.984e-06/1.014, allocations: 1.156 kB / 0.9481 GB, free: 110.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006031/1.02, allocations: 3.508 MB / 0.9516 GB, free: 108 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002342/1.023, allocations: 0.5056 MB / 0.9521 GB, free: 107.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02691/1.05, allocations: 14.39 MB / 0.9661 GB, free: 101.4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/1.051, allocations: 1.475 MB / 0.9676 GB, free: 100.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001885/1.052, allocations: 421.9 kB / 0.968 GB, free: 100.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007626/1.053, allocations: 0.6302 MB / 0.9686 GB, free: 99.64 MB / 0.7325 GB Notification: Performance of SimCode: time 1.192e-06/1.053, allocations: 0 / 0.9686 GB, free: 99.64 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07566/1.129, allocations: 49.7 MB / 1.017 GB, free: 55.29 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002041/1.129, allocations: 226.2 kB / 1.017 GB, free: 55.05 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.206/4.335, allocations: 2.375 kB / 1.017 GB, free: 55.05 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/linux/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) Environment - environmentSimulation: