Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",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.004921/0.004921, allocations: 102.2 kB / 15.73 MB, free: 6.066 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.001279/0.001279, allocations: 191.4 kB / 16.67 MB, free: 5.973 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002568/0.002568, allocations: 287.3 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.211/1.211, allocations: 178.5 MB / 0.5074 GB, free: 12.71 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002759/0.002759, allocations: 95.84 kB / 0.6943 GB, free: 15.21 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4089/0.4117, allocations: 89.14 MB / 0.7814 GB, free: 1.129 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007975/0.4197, allocations: 6.146 MB / 0.7874 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005763/0.4255, allocations: 3.173 MB / 0.7905 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006372/0.4262, allocations: 29.38 kB / 0.7905 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00256/0.4288, allocations: 0.9295 MB / 0.7914 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001323/0.4301, allocations: 471 kB / 0.7918 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.4315, allocations: 0.4921 MB / 0.7923 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001443/0.4329, allocations: 1.1 MB / 0.7934 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001038/0.434, allocations: 0.6443 MB / 0.794 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007174/0.4347, allocations: 432.6 kB / 0.7944 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007838/0.4355, allocations: 477.6 kB / 0.7949 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000118/0.4357, allocations: 63.03 kB / 0.7949 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001289/0.4369, allocations: 486.6 kB / 0.7954 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003858/0.4373, allocations: 289.8 kB / 0.7957 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005405/0.4379, allocations: 400 kB / 0.7961 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001805/0.4397, allocations: 1.181 MB / 0.7972 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.4397, allocations: 1.656 kB / 0.7972 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.264e-06/0.4397, allocations: 0 / 0.7972 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.414e-05/0.4398, allocations: 0 / 0.7972 GB, free: 5.418 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001855/0.4416, allocations: 1.088 MB / 0.7983 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.4417, allocations: 9.625 kB / 0.7983 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001485/0.4418, allocations: 124.7 kB / 0.7984 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001522/0.4434, allocations: 222.3 kB / 0.7986 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000959/0.4443, allocations: 0.6041 MB / 0.7992 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.74e-05/0.4444, allocations: 42.16 kB / 0.7993 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.4445, allocations: 69.44 kB / 0.7993 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/0.4461, allocations: 1.033 MB / 0.8003 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.916e-05/0.4461, allocations: 8.078 kB / 0.8003 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.902e-05/0.4462, allocations: 24.25 kB / 0.8004 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.753e-05/0.4463, allocations: 78.7 kB / 0.8004 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.4474, allocations: 0.6911 MB / 0.8011 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005443/0.4528, allocations: 5.728 MB / 0.8067 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008951/0.4537, allocations: 0.6035 MB / 0.8073 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008411/0.4546, allocations: 436 kB / 0.8077 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.566e-05/0.4546, allocations: 11.75 kB / 0.8077 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.4547, allocations: 32.94 kB / 0.8078 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=41): time 2.294e-06/0.4547, allocations: 0 / 0.8078 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42): time 0.004578/0.4593, allocations: 2.025 MB / 0.8097 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.4593, allocations: 59.39 kB / 0.8098 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005386/0.4599, allocations: 462.8 kB / 0.8102 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.906e-05/0.4599, allocations: 33.7 kB / 0.8103 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003093/0.4602, allocations: 404.1 kB / 0.8106 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.4604, allocations: 158.7 kB / 0.8108 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/0.4606, allocations: 110.3 kB / 0.8109 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001904/0.4608, allocations: 362.8 kB / 0.8112 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003708/0.4611, allocations: 237.2 kB / 0.8115 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005732/0.4617, allocations: 464.9 kB / 0.8119 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.4628, allocations: 0.7523 MB / 0.8127 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.4628, allocations: 4 kB / 0.8127 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001954/0.4647, allocations: 1.039 MB / 0.8137 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.4648, allocations: 8 kB / 0.8137 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.4648, allocations: 11.94 kB / 0.8137 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/0.4658, allocations: 319.6 kB / 0.814 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000323/0.4662, allocations: 99.81 kB / 0.8141 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008017/0.4742, allocations: 7.471 MB / 0.8214 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004693/0.4747, allocations: 28.03 kB / 0.8214 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.303e-05/0.4748, allocations: 28 kB / 0.8214 GB, free: 14.03 MB / 0.5919 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003819/0.4751, allocations: 249.8 kB / 0.8217 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.453e-05/0.4752, allocations: 63.56 kB / 0.8217 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001802/0.4771, allocations: 0.9 MB / 0.8226 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.4771, allocations: 4 kB / 0.8226 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/0.4771, allocations: 4 kB / 0.8226 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.4771, allocations: 4.094 kB / 0.8226 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002791/0.4799, allocations: 1.688 MB / 0.8243 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.4799, allocations: 4 kB / 0.8243 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.4801, allocations: 35.97 kB / 0.8243 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009399/0.481, allocations: 311.3 kB / 0.8246 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.941e-05/0.4811, allocations: 12 kB / 0.8246 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007893/0.489, allocations: 7.451 MB / 0.8319 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.88e-05/0.489, allocations: 11.94 kB / 0.8319 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.4908, allocations: 0.9958 MB / 0.8329 GB, free: 1.57 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002766/0.4911, allocations: 177.2 kB / 0.8331 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.604e-05/0.4912, allocations: 8 kB / 0.8331 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002771/0.4915, allocations: 27.91 kB / 0.8331 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.4916, allocations: 43.88 kB / 0.8331 GB, free: 1.301 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.4917, allocations: 12 kB / 0.8331 GB, free: 1.289 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003802/0.492, allocations: 318.8 kB / 0.8334 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.492, allocations: 4 kB / 0.8334 GB, free: 0.9766 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007703/0.4928, allocations: 192 kB / 0.8336 GB, free: 0.7891 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00218/0.495, allocations: 1.541 MB / 0.8351 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001987/0.497, allocations: 1.2 MB / 0.8363 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.497, allocations: 3.938 kB / 0.8363 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001335/0.4984, allocations: 0.8693 MB / 0.8372 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.4994, allocations: 205.9 kB / 0.8374 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008634/0.508, allocations: 5.881 MB / 0.8431 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007092/0.5088, allocations: 0.9921 MB / 0.8441 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003049/0.5091, allocations: 97.19 kB / 0.8442 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002807/0.5094, allocations: 231.3 kB / 0.8444 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of SimCode: time 1.323e-06/0.5094, allocations: 0 / 0.8444 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05354/0.5629, allocations: 15.42 MB / 0.8594 GB, free: 6.164 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.31/10.87, allocations: 6.234 kB / 0.8594 GB, free: 6.16 MB / 0.6231 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)