Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.Impedances,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",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.007102/0.007102, allocations: 102 kB / 15.73 MB, free: 6.043 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.001708/0.001708, allocations: 188.1 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002208/0.002208, allocations: 290.5 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.969/0.969, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 91.33 kB / 0.681 GB, free: 28 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1458, allocations: 86.97 MB / 0.7659 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006614/0.1525, allocations: 4.895 MB / 0.7707 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004138/0.1567, allocations: 2.475 MB / 0.7731 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004632/0.1572, allocations: 27.81 kB / 0.7731 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001306/0.1585, allocations: 404.2 kB / 0.7735 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001199/0.1597, allocations: 477.6 kB / 0.774 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009553/0.1607, allocations: 398.4 kB / 0.7743 GB, free: 304 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.3006/0.4613, allocations: 0.9199 MB / 0.7752 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006124/0.4619, allocations: 357.5 kB / 0.7756 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005012/0.4624, allocations: 345.1 kB / 0.7759 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004209/0.4629, allocations: 347.7 kB / 0.7762 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.811e-05/0.463, allocations: 37.12 kB / 0.7763 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007075/0.4637, allocations: 405.7 kB / 0.7767 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001892/0.4639, allocations: 178.9 kB / 0.7768 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002873/0.4642, allocations: 324.4 kB / 0.7771 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.4652, allocations: 0.8875 MB / 0.778 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.4652, allocations: 0 / 0.778 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4652, allocations: 1.031 kB / 0.778 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.4652, allocations: 0.9375 kB / 0.778 GB, free: 8.281 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001255/0.4665, allocations: 0.9542 MB / 0.7789 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.4665, allocations: 10.31 kB / 0.779 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001049/0.4667, allocations: 93.55 kB / 0.779 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00122/0.4679, allocations: 203.8 kB / 0.7792 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006962/0.4686, allocations: 0.549 MB / 0.7798 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/0.4686, allocations: 35.06 kB / 0.7798 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.419e-05/0.4687, allocations: 45.44 kB / 0.7799 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009023/0.4696, allocations: 0.8461 MB / 0.7807 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/0.4697, allocations: 6.688 kB / 0.7807 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.955e-05/0.4697, allocations: 22.16 kB / 0.7807 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.724e-05/0.4698, allocations: 69.38 kB / 0.7808 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007792/0.4706, allocations: 0.5679 MB / 0.7813 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003525/0.4741, allocations: 5.643 MB / 0.7868 GB, free: 18.28 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006045/0.4747, allocations: 460.2 kB / 0.7873 GB, free: 18.15 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003227/0.4751, allocations: 228.6 kB / 0.7875 GB, free: 18.07 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.4751, allocations: 7.219 kB / 0.7875 GB, free: 18.07 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.4752, allocations: 40.23 kB / 0.7875 GB, free: 18.02 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 2.024e-06/0.4752, allocations: 0 / 0.7875 GB, free: 18.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.002416/0.4776, allocations: 1.504 MB / 0.789 GB, free: 17.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.4776, allocations: 59.22 kB / 0.7891 GB, free: 17.04 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004672/0.4781, allocations: 0.4997 MB / 0.7896 GB, free: 16.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/0.4781, allocations: 32.31 kB / 0.7896 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/0.4783, allocations: 356.3 kB / 0.7899 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.187e-05/0.4784, allocations: 120.5 kB / 0.79 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.4786, allocations: 113.9 kB / 0.7901 GB, free: 16.33 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.4787, allocations: 365.1 kB / 0.7905 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002929/0.479, allocations: 191.5 kB / 0.7907 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004009/0.4794, allocations: 451.8 kB / 0.7911 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006997/0.4801, allocations: 0.7039 MB / 0.7918 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.4802, allocations: 6.25 kB / 0.7918 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001163/0.4813, allocations: 0.8015 MB / 0.7926 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.4814, allocations: 9.125 kB / 0.7926 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.4814, allocations: 7.969 kB / 0.7926 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004604/0.4818, allocations: 163.3 kB / 0.7928 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00042/0.4823, allocations: 120.1 kB / 0.7929 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00299/0.4853, allocations: 4.338 MB / 0.7971 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003846/0.4857, allocations: 33.77 kB / 0.7971 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.743e-05/0.4857, allocations: 28.41 kB / 0.7972 GB, free: 10.41 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0002558/0.486, allocations: 224.6 kB / 0.7974 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.543e-05/0.4861, allocations: 59.88 kB / 0.7974 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009727/0.487, allocations: 0.5957 MB / 0.798 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/0.4871, allocations: 9.062 kB / 0.798 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.4871, allocations: 2.156 kB / 0.798 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.4871, allocations: 1.922 kB / 0.798 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00169/0.4888, allocations: 1.262 MB / 0.7993 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.4888, allocations: 4.25 kB / 0.7993 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002564/0.489, allocations: 48.14 kB / 0.7993 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004121/0.4895, allocations: 152.4 kB / 0.7995 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.939e-05/0.4895, allocations: 10.44 kB / 0.7995 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00301/0.4925, allocations: 4.332 MB / 0.8037 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.4925, allocations: 6.656 kB / 0.8037 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.4936, allocations: 0.7081 MB / 0.8044 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002191/0.4938, allocations: 180.2 kB / 0.8046 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.926e-05/0.4939, allocations: 9.031 kB / 0.8046 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002476/0.4941, allocations: 21.27 kB / 0.8046 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.058e-05/0.4942, allocations: 29.61 kB / 0.8046 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/0.4942, allocations: 11.69 kB / 0.8046 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004177/0.4946, allocations: 339.7 kB / 0.805 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4947, allocations: 0 / 0.805 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000691/0.4953, allocations: 143.3 kB / 0.8051 GB, free: 4.137 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.001256/0.4966, allocations: 1.256 MB / 0.8063 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001428/0.4981, allocations: 1.046 MB / 0.8073 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.4981, allocations: 1.219 kB / 0.8073 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008319/0.4989, allocations: 0.7267 MB / 0.8081 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009891/0.4999, allocations: 215 kB / 0.8083 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006799/0.5067, allocations: 5.148 MB / 0.8133 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004881/0.5072, allocations: 0.9101 MB / 0.8142 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004036/0.5077, allocations: 114.2 kB / 0.8143 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002493/0.5079, allocations: 196.2 kB / 0.8145 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of SimCode: time 6.31e-07/0.5079, allocations: 4 kB / 0.8145 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03954/0.5475, allocations: 12.89 MB / 0.8271 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.15/10.7, allocations: 9.031 kB / 0.8271 GB, free: 10.05 MB / 0.5919 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)