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.00113/0.00113, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.473/1.473, allocations: 205.1 MB / 222.4 MB, free: 4.57 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.7/1.7, allocations: 292.3 MB / 0.5489 GB, free: 12.79 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.00164/0.00164, allocations: 68.42 kB / 0.6716 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2168, allocations: 114.6 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.0197/0.2365, allocations: 16.01 MB / 0.7991 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.00848/0.2451, allocations: 4.868 MB / 0.8039 GB, free: 8.402 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00102/0.2461, allocations: 67.69 kB / 0.8039 GB, free: 8.336 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002477/0.2486, allocations: 1.038 MB / 0.8049 GB, free: 7.293 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002651/0.2513, allocations: 0.7425 MB / 0.8057 GB, free: 6.547 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002939/0.2542, allocations: 0.9229 MB / 0.8066 GB, free: 5.625 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003327/0.2576, allocations: 3.607 MB / 0.8101 GB, free: 2.012 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00519/0.2628, allocations: 4.809 MB / 0.8148 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002431/0.2652, allocations: 1.57 MB / 0.8163 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001888/0.2672, allocations: 1.776 MB / 0.8181 GB, free: 9.773 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004173/0.2676, allocations: 340 kB / 0.8184 GB, free: 9.441 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001279/0.2689, allocations: 0.8036 MB / 0.8192 GB, free: 8.637 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001023/0.2699, allocations: 1.326 MB / 0.8205 GB, free: 7.309 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001324/0.2712, allocations: 1.451 MB / 0.8219 GB, free: 5.852 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005207/0.2764, allocations: 5.091 MB / 0.8269 GB, free: 0.7461 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2765, allocations: 0 / 0.8269 GB, free: 0.7461 MB / 0.6387 GB Notification: Performance of FrontEnd: time 4.369e-06/0.2765, allocations: 0 / 0.8269 GB, free: 0.7461 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.867e-05/0.2766, allocations: 7.875 kB / 0.8269 GB, free: 0.7383 MB / 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.004455/0.2811, allocations: 2.647 MB / 0.8294 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.2811, allocations: 8.031 kB / 0.8294 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000403/0.2815, allocations: 370.5 kB / 0.8298 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005065/0.2866, allocations: 0.8406 MB / 0.8306 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002492/0.2891, allocations: 1.497 MB / 0.8321 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/0.2892, allocations: 177.1 kB / 0.8323 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003767/0.2896, allocations: 232.4 kB / 0.8325 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006434/0.296, allocations: 4.169 MB / 0.8365 GB, free: 6.555 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.228e-05/0.2961, allocations: 7.938 kB / 0.8366 GB, free: 6.547 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003875/0.2965, allocations: 99.98 kB / 0.8367 GB, free: 6.449 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002347/0.2968, allocations: 172.5 kB / 0.8368 GB, free: 6.277 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005265/0.302, allocations: 3.632 MB / 0.8404 GB, free: 2.629 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0189/0.321, allocations: 16.54 MB / 0.8565 GB, free: 0.6523 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003277/0.3243, allocations: 2.3 MB / 0.8588 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001146/0.3254, allocations: 0.5858 MB / 0.8593 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001691/0.3256, allocations: 89.67 kB / 0.8594 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.3257, allocations: 43.11 kB / 0.8595 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=72): time 3.085e-06/0.3257, allocations: 7.875 kB / 0.8595 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76): time 0.005632/0.3313, allocations: 3.424 MB / 0.8628 GB, free: 9.855 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.3314, allocations: 111.5 kB / 0.8629 GB, free: 9.723 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.3326, allocations: 1.022 MB / 0.8639 GB, free: 8.676 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.691e-05/0.3326, allocations: 33.7 kB / 0.864 GB, free: 8.637 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005971/0.3332, allocations: 1.107 MB / 0.865 GB, free: 7.512 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002/0.3335, allocations: 272.2 kB / 0.8653 GB, free: 7.242 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003617/0.3338, allocations: 287.1 kB / 0.8656 GB, free: 6.957 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.334, allocations: 418.7 kB / 0.866 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001296/0.3353, allocations: 0.6167 MB / 0.8666 GB, free: 5.922 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001734/0.337, allocations: 1.185 MB / 0.8677 GB, free: 4.477 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002039/0.3391, allocations: 1.872 MB / 0.8696 GB, free: 2.34 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.3391, allocations: 4 kB / 0.8696 GB, free: 2.336 MB / 0.6856 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002967/0.3421, allocations: 2.011 MB / 0.8715 GB, free: 312 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.3421, allocations: 16 kB / 0.8715 GB, free: 296 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/0.3422, allocations: 20 kB / 0.8716 GB, free: 276 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003913/0.3426, allocations: 163.3 kB / 0.8717 GB, free: 100 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.3436, allocations: 343.4 kB / 0.872 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.254e-05/0.3437, allocations: 39.86 kB / 0.8721 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009046/0.3446, allocations: 127.7 kB / 0.8722 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.175e-05/0.3447, allocations: 71.98 kB / 0.8723 GB, free: 15.53 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.001235/0.3459, allocations: 0.984 MB / 0.8732 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002308/0.3462, allocations: 110.7 kB / 0.8733 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001972/0.3482, allocations: 1.222 MB / 0.8745 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.3482, allocations: 8 kB / 0.8745 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.3482, allocations: 0 / 0.8745 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.3482, allocations: 3.984 kB / 0.8745 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005052/0.3533, allocations: 3.807 MB / 0.8783 GB, free: 9.207 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.3533, allocations: 4 kB / 0.8783 GB, free: 9.203 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005813/0.3539, allocations: 160 kB / 0.8784 GB, free: 9.047 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003326/0.3542, allocations: 143.3 kB / 0.8785 GB, free: 8.895 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.147e-05/0.3543, allocations: 16 kB / 0.8786 GB, free: 8.879 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.187e-06/0.3543, allocations: 11.92 kB / 0.8786 GB, free: 8.867 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.3543, allocations: 4 kB / 0.8786 GB, free: 8.863 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001818/0.3561, allocations: 1.464 MB / 0.88 GB, free: 7.348 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003954/0.3565, allocations: 275.7 kB / 0.8803 GB, free: 7.059 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/0.3567, allocations: 23.98 kB / 0.8803 GB, free: 7.035 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005668/0.3573, allocations: 63.91 kB / 0.8804 GB, free: 6.973 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.3574, allocations: 64.36 kB / 0.8804 GB, free: 6.91 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.43e-05/0.3574, allocations: 24 kB / 0.8804 GB, free: 6.887 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0008181/0.3583, allocations: 0.6953 MB / 0.8811 GB, free: 6.18 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2e-07/0.3583, allocations: 0 / 0.8811 GB, free: 6.18 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001307/0.3596, allocations: 391.9 kB / 0.8815 GB, free: 5.797 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.002067/0.3617, allocations: 2.04 MB / 0.8835 GB, free: 3.688 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002635/0.3643, allocations: 2.016 MB / 0.8855 GB, free: 1.586 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.3643, allocations: 0 / 0.8855 GB, free: 1.586 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0008598/0.3652, allocations: 0.8582 MB / 0.8863 GB, free: 0.6445 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001731/0.3669, allocations: 278.9 kB / 0.8866 GB, free: 388 kB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01889/0.3858, allocations: 13.33 MB / 0.8996 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001942/0.3878, allocations: 1.916 MB / 0.9015 GB, free: 244 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00191/0.3898, allocations: 449.5 kB / 0.9019 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001425/0.3912, allocations: 0.714 MB / 0.9026 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of SimCode: time 1.192e-06/0.3912, allocations: 0 / 0.9026 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4205/0.8117, allocations: 27.28 MB / 0.9292 GB, free: 132.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/11.02, allocations: 10.75 kB / 0.9292 GB, free: 132.8 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)