Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",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.005212/0.005212, allocations: 98.47 kB / 15.73 MB, free: 5.949 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.001421/0.001421, allocations: 193 kB / 16.67 MB, free: 5.871 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.474/1.474, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00264/0.00264, allocations: 282 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.002/1.002, allocations: 169.2 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002935/0.002935, allocations: 87.86 kB / 0.681 GB, free: 7.441 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4614/0.4644, allocations: 86.98 MB / 0.7659 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01467/0.4791, allocations: 11.09 MB / 0.7767 GB, free: 8.723 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01026/0.4894, allocations: 5.785 MB / 0.7824 GB, free: 2.918 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/0.4905, allocations: 51.62 kB / 0.7824 GB, free: 2.867 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004488/0.495, allocations: 1.722 MB / 0.7841 GB, free: 1.141 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00337/0.4984, allocations: 1.143 MB / 0.7852 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002284/0.5007, allocations: 0.8147 MB / 0.786 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002929/0.5036, allocations: 2.127 MB / 0.7881 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001724/0.5054, allocations: 1.318 MB / 0.7894 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001328/0.5067, allocations: 0.8445 MB / 0.7902 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001272/0.508, allocations: 0.9143 MB / 0.7911 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001948/0.5082, allocations: 116 kB / 0.7912 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002342/0.5105, allocations: 1.173 MB / 0.7924 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005967/0.5111, allocations: 0.5258 MB / 0.7929 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009566/0.5121, allocations: 0.7849 MB / 0.7937 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00375/0.5159, allocations: 2.441 MB / 0.796 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.5159, allocations: 0 / 0.796 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5159, allocations: 0 / 0.796 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.144e-05/0.5159, allocations: 4 kB / 0.796 GB, free: 4.879 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.003173/0.5191, allocations: 1.919 MB / 0.7979 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.5192, allocations: 12.03 kB / 0.7979 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002646/0.5194, allocations: 207.5 kB / 0.7981 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004379/0.5238, allocations: 0.6786 MB / 0.7988 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001738/0.5256, allocations: 1.017 MB / 0.7998 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.302e-05/0.5257, allocations: 98.89 kB / 0.7999 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002156/0.5259, allocations: 124.3 kB / 0.8 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003313/0.5292, allocations: 2.214 MB / 0.8022 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.088e-05/0.5293, allocations: 11.88 kB / 0.8022 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/0.5294, allocations: 63.97 kB / 0.8022 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002317/0.5297, allocations: 162.3 kB / 0.8024 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003021/0.5327, allocations: 1.867 MB / 0.8042 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01319/0.5459, allocations: 12.46 MB / 0.8164 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004474/0.5504, allocations: 1.956 MB / 0.8183 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009421/0.5514, allocations: 0.6089 MB / 0.8189 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001868/0.5516, allocations: 102.1 kB / 0.819 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.5516, allocations: 43.5 kB / 0.819 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=103): time 2.585e-06/0.5516, allocations: 0 / 0.819 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=110): time 0.006446/0.5581, allocations: 3.728 MB / 0.8227 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.5581, allocations: 64.41 kB / 0.8227 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.5594, allocations: 0.9205 MB / 0.8236 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.426e-05/0.5594, allocations: 45.7 kB / 0.8237 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005876/0.56, allocations: 0.7533 MB / 0.8244 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003432/0.5604, allocations: 404.6 kB / 0.8248 GB, free: 5.902 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000418/0.5608, allocations: 291.4 kB / 0.8251 GB, free: 5.613 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.561, allocations: 301.1 kB / 0.8253 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009764/0.5619, allocations: 0.6129 MB / 0.8259 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/0.5634, allocations: 1.109 MB / 0.827 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002525/0.5659, allocations: 1.828 MB / 0.8288 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.423e-06/0.5659, allocations: 7.938 kB / 0.8288 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003691/0.5696, allocations: 2.116 MB / 0.8309 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.5697, allocations: 12 kB / 0.8309 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.143e-05/0.5697, allocations: 16 kB / 0.8309 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008277/0.5705, allocations: 255 kB / 0.8312 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/0.5718, allocations: 371.4 kB / 0.8315 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01011/0.582, allocations: 11.58 MB / 0.8428 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/0.5833, allocations: 127.8 kB / 0.8429 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/0.5835, allocations: 71.98 kB / 0.843 GB, free: 1.609 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006826/0.5842, allocations: 411.6 kB / 0.8434 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002183/0.5844, allocations: 139.2 kB / 0.8435 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002947/0.5873, allocations: 1.673 MB / 0.8452 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/0.5874, allocations: 15.98 kB / 0.8452 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.5874, allocations: 4 kB / 0.8452 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.5874, allocations: 3.984 kB / 0.8452 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00546/0.5929, allocations: 3.292 MB / 0.8484 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.5929, allocations: 8 kB / 0.8484 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008744/0.5938, allocations: 227.7 kB / 0.8486 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000727/0.5945, allocations: 238.6 kB / 0.8489 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.74e-05/0.5946, allocations: 35.92 kB / 0.8489 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01042/0.6051, allocations: 11.56 MB / 0.8602 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.148e-05/0.6051, allocations: 11.92 kB / 0.8602 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003084/0.6082, allocations: 1.8 MB / 0.862 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005851/0.6088, allocations: 320.1 kB / 0.8623 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/0.609, allocations: 35.89 kB / 0.8623 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007384/0.6097, allocations: 87.88 kB / 0.8624 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000222/0.6099, allocations: 100.7 kB / 0.8625 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.491e-05/0.61, allocations: 32 kB / 0.8625 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008644/0.6109, allocations: 0.6216 MB / 0.8631 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.214e-06/0.6109, allocations: 0 / 0.8631 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001604/0.6125, allocations: 395.9 kB / 0.8635 GB, free: 11.16 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003308/0.6158, allocations: 2.389 MB / 0.8658 GB, free: 8.656 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004029/0.6199, allocations: 2.508 MB / 0.8683 GB, free: 6.047 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.6199, allocations: 0 / 0.8683 GB, free: 6.047 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002344/0.6222, allocations: 1.626 MB / 0.8699 GB, free: 4.32 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00184/0.6241, allocations: 356.4 kB / 0.8702 GB, free: 3.984 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01732/0.6414, allocations: 11.53 MB / 0.8815 GB, free: 7.707 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/0.6425, allocations: 1.331 MB / 0.8828 GB, free: 6.344 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001003/0.6436, allocations: 363.3 kB / 0.8831 GB, free: 5.984 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007394/0.6443, allocations: 0.5383 MB / 0.8836 GB, free: 5.445 MB / 0.6544 GB Notification: Performance of SimCode: time 9.42e-07/0.6443, allocations: 0 / 0.8836 GB, free: 5.445 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08202/0.7263, allocations: 28.31 MB / 0.9113 GB, free: 9.555 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.52, allocations: 19.64 kB / 0.9113 GB, free: 9.535 MB / 0.6856 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)