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.005069/0.00507, allocations: 101 kB / 15.73 MB, free: 6.055 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: 192.7 kB / 16.67 MB, free: 5.969 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.428/1.428, 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.002577/0.002577, allocations: 283.7 kB / 290.8 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.026/1.026, allocations: 169.3 MB / 0.4983 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002811/0.002812, allocations: 91.84 kB / 0.681 GB, free: 7.469 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3818, allocations: 86.98 MB / 0.7659 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.007134/0.389, allocations: 4.879 MB / 0.7707 GB, free: 14.98 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004142/0.3931, allocations: 2.483 MB / 0.7731 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003673/0.3935, allocations: 23.81 kB / 0.7731 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001192/0.3947, allocations: 413.9 kB / 0.7735 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009443/0.3957, allocations: 437.6 kB / 0.7739 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008658/0.3965, allocations: 405.9 kB / 0.7743 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009895/0.3975, allocations: 0.9173 MB / 0.7752 GB, free: 10.31 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005287/0.3981, allocations: 358.9 kB / 0.7756 GB, free: 9.957 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003952/0.3985, allocations: 342.6 kB / 0.7759 GB, free: 9.621 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004651/0.399, allocations: 358.4 kB / 0.7762 GB, free: 9.27 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.051e-05/0.399, allocations: 36 kB / 0.7763 GB, free: 9.234 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006142/0.3996, allocations: 399.1 kB / 0.7766 GB, free: 8.844 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000194/0.3999, allocations: 187.4 kB / 0.7768 GB, free: 8.66 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003033/0.4002, allocations: 318.2 kB / 0.7771 GB, free: 8.348 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.4012, allocations: 0.8922 MB / 0.778 GB, free: 7.457 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.4012, allocations: 0 / 0.778 GB, free: 7.457 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.163e-06/0.4012, allocations: 4 kB / 0.778 GB, free: 7.453 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.4012, allocations: 0 / 0.778 GB, free: 7.453 MB / 0.545 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.001427/0.4026, allocations: 0.9687 MB / 0.7789 GB, free: 6.434 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.4027, allocations: 12.03 kB / 0.779 GB, free: 6.422 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001118/0.4028, allocations: 94.69 kB / 0.779 GB, free: 6.32 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.404, allocations: 204.2 kB / 0.7792 GB, free: 6.121 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008243/0.4049, allocations: 0.5572 MB / 0.7798 GB, free: 5.527 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.464e-05/0.4049, allocations: 37.36 kB / 0.7798 GB, free: 5.492 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.833e-05/0.405, allocations: 48.38 kB / 0.7799 GB, free: 5.445 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.4062, allocations: 0.8524 MB / 0.7807 GB, free: 4.465 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/0.4063, allocations: 11.89 kB / 0.7807 GB, free: 4.453 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.196e-05/0.4063, allocations: 23.98 kB / 0.7807 GB, free: 4.43 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001003/0.4064, allocations: 64.95 kB / 0.7808 GB, free: 4.363 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000913/0.4074, allocations: 0.5656 MB / 0.7813 GB, free: 3.797 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004964/0.4123, allocations: 5.647 MB / 0.7869 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006885/0.413, allocations: 454.3 kB / 0.7873 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000328/0.4134, allocations: 224.7 kB / 0.7875 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.4134, allocations: 4 kB / 0.7875 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/0.4134, allocations: 38.56 kB / 0.7875 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 3.697e-06/0.4135, allocations: 4 kB / 0.7876 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.002648/0.4161, allocations: 1.515 MB / 0.789 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.4162, allocations: 55.69 kB / 0.7891 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005744/0.4167, allocations: 0.5107 MB / 0.7896 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.4168, allocations: 29.7 kB / 0.7896 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002815/0.4171, allocations: 363.8 kB / 0.79 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.4172, allocations: 126.9 kB / 0.7901 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001653/0.4174, allocations: 118.2 kB / 0.7902 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001961/0.4176, allocations: 362.8 kB / 0.7905 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000325/0.4179, allocations: 197.2 kB / 0.7907 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005156/0.4184, allocations: 447 kB / 0.7912 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008907/0.4193, allocations: 0.6883 MB / 0.7918 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.4193, allocations: 7.984 kB / 0.7918 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001363/0.4207, allocations: 0.8098 MB / 0.7926 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.4207, allocations: 11.94 kB / 0.7926 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.4207, allocations: 12.09 kB / 0.7926 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005041/0.4213, allocations: 152.1 kB / 0.7928 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004675/0.4217, allocations: 127.7 kB / 0.7929 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003848/0.4256, allocations: 4.344 MB / 0.7972 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004071/0.426, allocations: 35.91 kB / 0.7972 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.358e-05/0.4261, allocations: 31.98 kB / 0.7972 GB, free: 2.266 MB / 0.5606 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.0002724/0.4264, allocations: 218.8 kB / 0.7974 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.86e-05/0.4265, allocations: 67.64 kB / 0.7975 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/0.4276, allocations: 0.6008 MB / 0.7981 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.4276, allocations: 4 kB / 0.7981 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.4276, allocations: 0 / 0.7981 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.4276, allocations: 0 / 0.7981 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001928/0.4295, allocations: 1.269 MB / 0.7993 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.4296, allocations: 0 / 0.7993 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000268/0.4298, allocations: 55.84 kB / 0.7994 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004101/0.4303, allocations: 144.3 kB / 0.7995 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.344e-05/0.4303, allocations: 15.92 kB / 0.7995 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003723/0.434, allocations: 4.336 MB / 0.8038 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.434, allocations: 160 / 0.8038 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.4351, allocations: 0.7162 MB / 0.8045 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002211/0.4354, allocations: 172.6 kB / 0.8046 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.931e-05/0.4354, allocations: 8 kB / 0.8046 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002863/0.4357, allocations: 23.97 kB / 0.8047 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.623e-05/0.4358, allocations: 35.83 kB / 0.8047 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.4358, allocations: 16 kB / 0.8047 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003771/0.4362, allocations: 338.8 kB / 0.805 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4362, allocations: 0 / 0.805 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000772/0.437, allocations: 140 kB / 0.8052 GB, free: 9.504 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.001404/0.4384, allocations: 1.257 MB / 0.8064 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001483/0.4399, allocations: 1.044 MB / 0.8074 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4399, allocations: 0 / 0.8074 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009211/0.4408, allocations: 0.7349 MB / 0.8081 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.4419, allocations: 205.9 kB / 0.8083 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00687/0.4488, allocations: 5.162 MB / 0.8134 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005916/0.4494, allocations: 0.9098 MB / 0.8143 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003452/0.4498, allocations: 121.3 kB / 0.8144 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002627/0.45, allocations: 200.9 kB / 0.8146 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of SimCode: time 4.51e-07/0.45, allocations: 0 / 0.8146 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04793/0.498, allocations: 12.88 MB / 0.8271 GB, free: 2.668 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.28, allocations: 10.25 kB / 0.8271 GB, free: 2.66 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)