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.005181/0.005181, allocations: 98.52 kB / 15.73 MB, free: 6.051 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.001943/0.001943, allocations: 191.5 kB / 16.67 MB, free: 5.977 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002206/0.002206, allocations: 283.2 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9702/0.9702, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 96.14 kB / 0.681 GB, free: 0 / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1774, allocations: 86.98 MB / 0.7659 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.3323/0.5097, allocations: 11.08 MB / 0.7767 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008876/0.5187, allocations: 5.791 MB / 0.7824 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001334/0.52, allocations: 54.16 kB / 0.7824 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004297/0.5243, allocations: 1.725 MB / 0.7841 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003383/0.5277, allocations: 1.181 MB / 0.7853 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0025/0.5303, allocations: 0.8169 MB / 0.7861 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003109/0.5334, allocations: 2.129 MB / 0.7881 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001892/0.5353, allocations: 1.315 MB / 0.7894 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001577/0.5369, allocations: 0.8548 MB / 0.7903 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001734/0.5386, allocations: 0.9094 MB / 0.7912 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004595/0.5391, allocations: 114.4 kB / 0.7913 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002837/0.5419, allocations: 1.175 MB / 0.7924 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008565/0.5428, allocations: 0.5287 MB / 0.7929 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00148/0.5443, allocations: 0.7913 MB / 0.7937 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004607/0.5489, allocations: 2.422 MB / 0.7961 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.5489, allocations: 0 / 0.7961 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.394e-06/0.549, allocations: 0 / 0.7961 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001049/0.5491, allocations: 0 / 0.7961 GB, free: 1.664 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.004006/0.5531, allocations: 1.867 MB / 0.7979 GB, free: 456 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.5531, allocations: 9.125 kB / 0.7979 GB, free: 456 kB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002649/0.5534, allocations: 216.5 kB / 0.7981 GB, free: 316 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004809/0.5582, allocations: 0.6705 MB / 0.7988 GB, free: 184 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002151/0.5604, allocations: 1.001 MB / 0.7997 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.623e-05/0.5605, allocations: 98.83 kB / 0.7998 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002921/0.5608, allocations: 125.9 kB / 0.8 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004404/0.5652, allocations: 2.205 MB / 0.8021 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.254e-05/0.5653, allocations: 18.14 kB / 0.8021 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001611/0.5655, allocations: 65.62 kB / 0.8022 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002567/0.5657, allocations: 166.8 kB / 0.8023 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00359/0.5693, allocations: 1.861 MB / 0.8042 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01358/0.5829, allocations: 12.44 MB / 0.8163 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004415/0.5874, allocations: 1.963 MB / 0.8182 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008606/0.5883, allocations: 0.6064 MB / 0.8188 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001758/0.5885, allocations: 98.72 kB / 0.8189 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.5885, allocations: 50.98 kB / 0.819 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=103): time 4.479e-06/0.5885, allocations: 3.984 kB / 0.819 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of matching and sorting (n=110): time 0.006353/0.5949, allocations: 3.711 MB / 0.8226 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.5949, allocations: 67.28 kB / 0.8227 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.5961, allocations: 0.9223 MB / 0.8236 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.271e-05/0.5962, allocations: 41.11 kB / 0.8236 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004588/0.5967, allocations: 0.7259 MB / 0.8243 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003014/0.597, allocations: 392.9 kB / 0.8247 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004066/0.5974, allocations: 285.9 kB / 0.825 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.717e-05/0.5975, allocations: 301.1 kB / 0.8252 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009144/0.5984, allocations: 0.6128 MB / 0.8258 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/0.5996, allocations: 1.108 MB / 0.8269 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002296/0.6019, allocations: 1.831 MB / 0.8287 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/0.602, allocations: 3.719 kB / 0.8287 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003514/0.6055, allocations: 2.099 MB / 0.8308 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.6055, allocations: 12.62 kB / 0.8308 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.115e-05/0.6055, allocations: 15.94 kB / 0.8308 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000812/0.6064, allocations: 259.5 kB / 0.831 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/0.6076, allocations: 375.2 kB / 0.8314 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008715/0.6163, allocations: 11.58 MB / 0.8427 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.6178, allocations: 126.1 kB / 0.8428 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001607/0.6179, allocations: 71.39 kB / 0.8429 GB, free: 13.74 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.0007636/0.6187, allocations: 404.2 kB / 0.8433 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002406/0.619, allocations: 132 kB / 0.8434 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002874/0.6218, allocations: 1.686 MB / 0.845 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.6219, allocations: 11.19 kB / 0.8451 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.6219, allocations: 2.625 kB / 0.8451 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/0.6219, allocations: 9.344 kB / 0.8451 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005245/0.6272, allocations: 3.293 MB / 0.8483 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.6272, allocations: 5.188 kB / 0.8483 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008326/0.628, allocations: 218.5 kB / 0.8485 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006921/0.6287, allocations: 248.1 kB / 0.8487 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.702e-05/0.6288, allocations: 27.47 kB / 0.8488 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008284/0.6371, allocations: 11.56 MB / 0.8601 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.005e-05/0.6372, allocations: 9.859 kB / 0.8601 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002946/0.6401, allocations: 1.802 MB / 0.8618 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006234/0.6408, allocations: 307.4 kB / 0.8621 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001551/0.6409, allocations: 28.31 kB / 0.8621 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006947/0.6416, allocations: 93.64 kB / 0.8622 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002103/0.6418, allocations: 101.8 kB / 0.8623 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.338e-05/0.6419, allocations: 30.59 kB / 0.8624 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000827/0.6428, allocations: 0.6225 MB / 0.863 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6428, allocations: 4 kB / 0.863 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00153/0.6443, allocations: 388 kB / 0.8633 GB, free: 11.78 MB / 0.6231 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.003052/0.6474, allocations: 2.392 MB / 0.8657 GB, free: 9.262 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003785/0.6512, allocations: 2.5 MB / 0.8681 GB, free: 6.66 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.6512, allocations: 0 / 0.8681 GB, free: 6.66 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002172/0.6534, allocations: 1.63 MB / 0.8697 GB, free: 4.93 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/0.6551, allocations: 361 kB / 0.8701 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01575/0.6708, allocations: 11.48 MB / 0.8813 GB, free: 8.363 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009263/0.6718, allocations: 1.323 MB / 0.8826 GB, free: 7.008 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009808/0.6728, allocations: 363.3 kB / 0.8829 GB, free: 6.648 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000678/0.6735, allocations: 0.5344 MB / 0.8834 GB, free: 6.113 MB / 0.6387 GB Notification: Performance of SimCode: time 9.11e-07/0.6735, allocations: 0 / 0.8834 GB, free: 6.113 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06832/0.7418, allocations: 28.32 MB / 0.9111 GB, free: 10.21 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.32, allocations: 15.81 kB / 0.9111 GB, free: 10.2 MB / 0.67 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)