Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.422/1.422, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001078/0.001078, allocations: 174.8 kB / 327 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.937/1.937, allocations: 205.4 MB / 0.578 GB, free: 20.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001149/0.001149, allocations: 91.31 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003565, allocations: 10.41 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.21, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01517/0.2252, allocations: 15.38 MB / 0.916 GB, free: 47.96 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.009036/0.2343, allocations: 4.817 MB / 0.9207 GB, free: 43.12 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001675/0.236, allocations: 55.69 kB / 0.9207 GB, free: 43.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000974/0.237, allocations: 254 kB / 0.921 GB, free: 42.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002204/0.2393, allocations: 0.6963 MB / 0.9216 GB, free: 42.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001914/0.2412, allocations: 0.6648 MB / 0.9223 GB, free: 41.46 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004225/0.2454, allocations: 5.256 MB / 0.9274 GB, free: 36.19 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007657/0.2531, allocations: 5.832 MB / 0.9331 GB, free: 30.27 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002146/0.2553, allocations: 1.132 MB / 0.9342 GB, free: 29.14 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00249/0.2578, allocations: 1.507 MB / 0.9357 GB, free: 27.62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0008739/0.2587, allocations: 144 kB / 0.9358 GB, free: 27.48 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002468/0.2612, allocations: 0.7292 MB / 0.9365 GB, free: 26.75 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001626/0.2628, allocations: 1.072 MB / 0.9376 GB, free: 25.68 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.002395/0.2652, allocations: 1.187 MB / 0.9387 GB, free: 24.48 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.004968/0.2702, allocations: 4.891 MB / 0.9435 GB, free: 19.57 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.2702, allocations: 0 / 0.9435 GB, free: 19.57 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2702, allocations: 0 / 0.9435 GB, free: 19.57 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002016/0.2704, allocations: 0 / 0.9435 GB, free: 19.57 MB / 0.6042 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.00492/0.2754, allocations: 2.175 MB / 0.9456 GB, free: 17.34 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.98e-05/0.2754, allocations: 12.03 kB / 0.9457 GB, free: 17.33 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006875/0.2761, allocations: 370.5 kB / 0.946 GB, free: 16.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0038/0.28, allocations: 0.8328 MB / 0.9468 GB, free: 16.12 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002609/0.2826, allocations: 1.505 MB / 0.9483 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.2827, allocations: 181.1 kB / 0.9485 GB, free: 14.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004023/0.2831, allocations: 228.4 kB / 0.9487 GB, free: 14.17 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005994/0.2891, allocations: 4.169 MB / 0.9528 GB, free: 9.859 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.083e-05/0.2892, allocations: 0 / 0.9528 GB, free: 9.859 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002355/0.2895, allocations: 103.9 kB / 0.9529 GB, free: 9.758 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001748/0.2897, allocations: 168.5 kB / 0.953 GB, free: 9.59 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004974/0.2946, allocations: 3.644 MB / 0.9566 GB, free: 5.93 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01808/0.3128, allocations: 16.56 MB / 0.9727 GB, free: 3.941 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003587/0.3164, allocations: 2.311 MB / 0.975 GB, free: 1.418 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008782/0.3173, allocations: 0.5818 MB / 0.9756 GB, free: 0.8281 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001571/0.3175, allocations: 101.7 kB / 0.9757 GB, free: 0.7109 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.3175, allocations: 39.12 kB / 0.9757 GB, free: 0.6641 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=72): time 4.288e-06/0.3176, allocations: 0 / 0.9757 GB, free: 0.6641 MB / 0.6198 GB Notification: Performance of matching and sorting (n=76): time 0.005733/0.3233, allocations: 3.452 MB / 0.9791 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.576e-05/0.3234, allocations: 115.4 kB / 0.9792 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.3248, allocations: 1.022 MB / 0.9802 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.873e-05/0.3248, allocations: 37.7 kB / 0.9802 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007336/0.3256, allocations: 1.103 MB / 0.9813 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002244/0.3258, allocations: 272.2 kB / 0.9815 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.638e-05/0.3259, allocations: 32 kB / 0.9816 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002062/0.3261, allocations: 414.7 kB / 0.982 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008892/0.327, allocations: 0.6207 MB / 0.9826 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001313/0.3283, allocations: 1.189 MB / 0.9837 GB, free: 7.973 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002242/0.3306, allocations: 1.88 MB / 0.9856 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.739e-06/0.3306, allocations: 7.938 kB / 0.9856 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003277/0.3339, allocations: 2.026 MB / 0.9876 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.921e-05/0.334, allocations: 12 kB / 0.9876 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-05/0.334, allocations: 20 kB / 0.9876 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004453/0.3344, allocations: 167.9 kB / 0.9878 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.3356, allocations: 343.4 kB / 0.9881 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.712e-05/0.3357, allocations: 43.8 kB / 0.9881 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/0.3368, allocations: 143.6 kB / 0.9883 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.3369, allocations: 68 kB / 0.9883 GB, free: 2.977 MB / 0.6355 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.001776/0.3387, allocations: 0.9762 MB / 0.9893 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002962/0.339, allocations: 110.7 kB / 0.9894 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002188/0.3412, allocations: 1.237 MB / 0.9906 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.3412, allocations: 11.98 kB / 0.9906 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.3412, allocations: 7.938 kB / 0.9906 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.3413, allocations: 3.984 kB / 0.9906 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005746/0.347, allocations: 3.815 MB / 0.9943 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.3471, allocations: 4 kB / 0.9943 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006145/0.3477, allocations: 159.8 kB / 0.9945 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004008/0.3481, allocations: 139.3 kB / 0.9946 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.581e-05/0.3481, allocations: 16 kB / 0.9946 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.136e-05/0.3482, allocations: 16.02 kB / 0.9947 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.3482, allocations: 4 kB / 0.9947 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001996/0.3502, allocations: 1.476 MB / 0.9961 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004925/0.3507, allocations: 291.7 kB / 0.9964 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.3508, allocations: 19.98 kB / 0.9964 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005908/0.3514, allocations: 67.91 kB / 0.9965 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/0.3516, allocations: 68.36 kB / 0.9965 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.282e-05/0.3516, allocations: 20 kB / 0.9966 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0009857/0.3526, allocations: 0.6992 MB / 0.9972 GB, free: 9.574 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3526, allocations: 0 / 0.9972 GB, free: 9.574 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001604/0.3542, allocations: 388 kB / 0.9976 GB, free: 9.195 MB / 0.6511 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.002334/0.3566, allocations: 2.048 MB / 0.9996 GB, free: 7.086 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002408/0.359, allocations: 1.714 MB / 1.001 GB, free: 5.289 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.359, allocations: 0 / 1.001 GB, free: 5.289 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0009645/0.36, allocations: 0.8714 MB / 1.002 GB, free: 4.328 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00186/0.3618, allocations: 259.3 kB / 1.002 GB, free: 4.07 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02212/0.384, allocations: 14.34 MB / 1.016 GB, free: 4.875 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002464/0.3865, allocations: 1.92 MB / 1.018 GB, free: 2.922 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001329/0.3879, allocations: 445.4 kB / 1.019 GB, free: 2.484 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001027/0.3889, allocations: 0.7102 MB / 1.019 GB, free: 1.773 MB / 0.6667 GB Notification: Performance of SimCode: time 1.784e-06/0.3889, allocations: 0 / 1.019 GB, free: 1.773 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0526/0.4415, allocations: 26.46 MB / 1.045 GB, free: 7.656 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002565/0.4419, allocations: 260 kB / 1.045 GB, free: 7.371 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.68/3.122, allocations: 4 kB / 1.045 GB, free: 7.367 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)