Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_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.001046/0.001046, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009806/0.0009805, allocations: 189 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.231/1.231, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.493/1.493, allocations: 292.3 MB / 0.5486 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 66.11 kB / 0.6711 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1661, allocations: 114.5 MB / 0.783 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01508/0.1812, allocations: 15.91 MB / 0.7985 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.00597/0.1872, allocations: 4.825 MB / 0.8032 GB, free: 8.961 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004059/0.1876, allocations: 63.69 kB / 0.8033 GB, free: 8.898 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001998/0.1896, allocations: 0.9604 MB / 0.8042 GB, free: 7.938 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001013/0.1907, allocations: 0.6846 MB / 0.8049 GB, free: 7.25 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001469/0.1921, allocations: 0.8409 MB / 0.8057 GB, free: 6.41 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002546/0.1947, allocations: 3.618 MB / 0.8092 GB, free: 2.785 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005876/0.2006, allocations: 5.846 MB / 0.815 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001401/0.202, allocations: 1.593 MB / 0.8165 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001531/0.2035, allocations: 1.866 MB / 0.8183 GB, free: 9.402 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003197/0.2039, allocations: 340 kB / 0.8187 GB, free: 9.07 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009686/0.2048, allocations: 0.8036 MB / 0.8194 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0008951/0.2057, allocations: 1.329 MB / 0.8207 GB, free: 6.934 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001074/0.2068, allocations: 1.451 MB / 0.8222 GB, free: 5.477 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003271/0.2101, allocations: 5.138 MB / 0.8272 GB, free: 332 kB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2101, allocations: 0 / 0.8272 GB, free: 332 kB / 0.6387 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2101, allocations: 0 / 0.8272 GB, free: 332 kB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.854e-05/0.2102, allocations: 0 / 0.8272 GB, free: 332 kB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.003583/0.2137, allocations: 2.647 MB / 0.8298 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2138, allocations: 15.97 kB / 0.8298 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004033/0.2142, allocations: 370.5 kB / 0.8301 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003452/0.2177, allocations: 0.8328 MB / 0.8309 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001854/0.2195, allocations: 1.505 MB / 0.8324 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.2196, allocations: 177.1 kB / 0.8326 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003094/0.22, allocations: 232.3 kB / 0.8328 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005206/0.2252, allocations: 4.165 MB / 0.8369 GB, free: 6.133 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.553e-05/0.2252, allocations: 3.938 kB / 0.8369 GB, free: 6.129 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002223/0.2254, allocations: 99.98 kB / 0.837 GB, free: 6.031 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001537/0.2256, allocations: 168.5 kB / 0.8371 GB, free: 5.863 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004529/0.2301, allocations: 3.64 MB / 0.8407 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01357/0.2437, allocations: 16.53 MB / 0.8568 GB, free: 252 kB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002814/0.2466, allocations: 2.296 MB / 0.8591 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007009/0.2473, allocations: 0.5845 MB / 0.8596 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001111/0.2474, allocations: 89.67 kB / 0.8597 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.2474, allocations: 47.05 kB / 0.8598 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=72): time 2.264e-06/0.2474, allocations: 3.938 kB / 0.8598 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76): time 0.004387/0.2518, allocations: 3.428 MB / 0.8631 GB, free: 9.445 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.2519, allocations: 111.5 kB / 0.8632 GB, free: 9.312 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009823/0.2529, allocations: 1.018 MB / 0.8642 GB, free: 8.27 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.402e-05/0.2529, allocations: 37.7 kB / 0.8643 GB, free: 8.227 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005197/0.2534, allocations: 1.103 MB / 0.8653 GB, free: 7.109 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.2536, allocations: 276.2 kB / 0.8656 GB, free: 6.836 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003289/0.254, allocations: 283.2 kB / 0.8659 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.2541, allocations: 418.7 kB / 0.8663 GB, free: 6.137 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007721/0.2549, allocations: 0.6167 MB / 0.8669 GB, free: 5.52 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.256, allocations: 1.189 MB / 0.868 GB, free: 4.062 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001829/0.2578, allocations: 1.86 MB / 0.8699 GB, free: 1.938 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.2578, allocations: 8 kB / 0.8699 GB, free: 1.93 MB / 0.6856 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002549/0.2604, allocations: 2.007 MB / 0.8718 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.2604, allocations: 12 kB / 0.8718 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.2604, allocations: 27.92 kB / 0.8719 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003704/0.2608, allocations: 163.3 kB / 0.872 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009714/0.2618, allocations: 343.4 kB / 0.8723 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.821e-05/0.2618, allocations: 43.95 kB / 0.8724 GB, free: 15.31 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007817/0.2626, allocations: 135.7 kB / 0.8725 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.193e-05/0.2627, allocations: 63.98 kB / 0.8726 GB, free: 15.12 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001002/0.2637, allocations: 0.9808 MB / 0.8735 GB, free: 14.13 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.2639, allocations: 110.8 kB / 0.8736 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001718/0.2656, allocations: 1.23 MB / 0.8748 GB, free: 12.76 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.2656, allocations: 11.94 kB / 0.8749 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.2656, allocations: 4 kB / 0.8749 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.2657, allocations: 7.984 kB / 0.8749 GB, free: 12.74 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004245/0.2699, allocations: 3.8 MB / 0.8786 GB, free: 8.789 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.2699, allocations: 8.031 kB / 0.8786 GB, free: 8.781 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005382/0.2705, allocations: 159.8 kB / 0.8787 GB, free: 8.625 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002965/0.2708, allocations: 143.3 kB / 0.8789 GB, free: 8.473 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.968e-05/0.2708, allocations: 16 kB / 0.8789 GB, free: 8.457 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.037e-05/0.2708, allocations: 11.94 kB / 0.8789 GB, free: 8.445 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.2708, allocations: 11.94 kB / 0.8789 GB, free: 8.434 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/0.2724, allocations: 1.461 MB / 0.8803 GB, free: 6.918 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002861/0.2727, allocations: 263.8 kB / 0.8806 GB, free: 6.641 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.2728, allocations: 27.94 kB / 0.8806 GB, free: 6.613 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005298/0.2734, allocations: 71.89 kB / 0.8807 GB, free: 6.543 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.2735, allocations: 60.36 kB / 0.8807 GB, free: 6.484 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.77e-05/0.2735, allocations: 20 kB / 0.8808 GB, free: 6.465 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006979/0.2742, allocations: 0.6953 MB / 0.8814 GB, free: 5.758 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2742, allocations: 4 kB / 0.8814 GB, free: 5.754 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0009988/0.2753, allocations: 395.9 kB / 0.8818 GB, free: 5.367 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001842/0.2771, allocations: 2.036 MB / 0.8838 GB, free: 3.266 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002303/0.2794, allocations: 2.019 MB / 0.8858 GB, free: 1.168 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.2794, allocations: 4 kB / 0.8858 GB, free: 1.164 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0007783/0.2802, allocations: 0.8555 MB / 0.8866 GB, free: 224 kB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.2814, allocations: 262.7 kB / 0.8869 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01482/0.2962, allocations: 14.29 MB / 0.9008 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001382/0.2976, allocations: 1.92 MB / 0.9027 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009334/0.2986, allocations: 449.4 kB / 0.9031 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007181/0.2993, allocations: 0.718 MB / 0.9038 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.2993, allocations: 0 / 0.9038 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.141/3.44, allocations: 27.23 MB / 0.9304 GB, free: 131.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001826/3.441, allocations: 249 kB / 0.9307 GB, free: 130.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.539/5.98, allocations: 0.5312 kB / 0.9307 GB, free: 130.9 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)