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.001462/0.001462, allocations: 109.4 kB / 15.69 MB, free: 128 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.001849/0.001849, allocations: 188.4 kB / 16.62 MB, free: 6.582 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.398/1.398, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.735/1.735, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001499/0.001499, allocations: 68.39 kB / 0.6718 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2418, allocations: 114.6 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01952/0.2614, allocations: 16.01 MB / 0.7993 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01001/0.2715, allocations: 4.86 MB / 0.804 GB, free: 8.285 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001916/0.2735, allocations: 67.69 kB / 0.8041 GB, free: 8.219 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003068/0.2766, allocations: 1.049 MB / 0.8051 GB, free: 7.168 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002253/0.2789, allocations: 0.7464 MB / 0.8058 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002524/0.2814, allocations: 0.9108 MB / 0.8067 GB, free: 5.508 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004192/0.2856, allocations: 3.614 MB / 0.8103 GB, free: 1.887 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005308/0.291, allocations: 4.77 MB / 0.8149 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002426/0.2934, allocations: 1.585 MB / 0.8165 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002398/0.2958, allocations: 1.78 MB / 0.8182 GB, free: 9.668 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0005676/0.2964, allocations: 336 kB / 0.8185 GB, free: 9.34 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001827/0.2982, allocations: 0.7959 MB / 0.8193 GB, free: 8.543 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001685/0.3, allocations: 1.326 MB / 0.8206 GB, free: 7.215 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002147/0.3021, allocations: 1.451 MB / 0.822 GB, free: 5.758 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005454/0.3076, allocations: 5.134 MB / 0.827 GB, free: 0.6094 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.3076, allocations: 4 kB / 0.827 GB, free: 0.6055 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3076, allocations: 0 / 0.827 GB, free: 0.6055 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001378/0.3078, allocations: 0 / 0.827 GB, free: 0.6055 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.006814/0.3146, allocations: 2.658 MB / 0.8296 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.3147, allocations: 8.031 kB / 0.8296 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006268/0.3153, allocations: 374.5 kB / 0.83 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004169/0.3195, allocations: 0.8367 MB / 0.8308 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003228/0.3227, allocations: 1.56 MB / 0.8323 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/0.3229, allocations: 181.1 kB / 0.8325 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006021/0.3235, allocations: 228.4 kB / 0.8327 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00747/0.331, allocations: 4.169 MB / 0.8368 GB, free: 6.348 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.839e-05/0.3311, allocations: 7.938 kB / 0.8368 GB, free: 6.34 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002738/0.3314, allocations: 95.98 kB / 0.8369 GB, free: 6.246 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001774/0.3316, allocations: 176.5 kB / 0.8371 GB, free: 6.07 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00591/0.3375, allocations: 3.624 MB / 0.8406 GB, free: 2.43 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01874/0.3562, allocations: 16.42 MB / 0.8566 GB, free: 0.582 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003471/0.3598, allocations: 2.304 MB / 0.8589 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008834/0.3607, allocations: 0.582 MB / 0.8594 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001591/0.3609, allocations: 93.67 kB / 0.8595 GB, free: 13.37 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.3609, allocations: 47.05 kB / 0.8596 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=72): time 2.605e-06/0.3609, allocations: 0 / 0.8596 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76): time 0.006642/0.3676, allocations: 3.432 MB / 0.8629 GB, free: 9.777 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.016e-05/0.3677, allocations: 111.5 kB / 0.863 GB, free: 9.645 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001681/0.3694, allocations: 1.014 MB / 0.864 GB, free: 8.605 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.905e-05/0.3695, allocations: 41.7 kB / 0.8641 GB, free: 8.559 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008708/0.3704, allocations: 1.099 MB / 0.8651 GB, free: 7.441 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003036/0.3707, allocations: 272.2 kB / 0.8654 GB, free: 7.172 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004916/0.3712, allocations: 279.2 kB / 0.8657 GB, free: 6.895 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002276/0.3714, allocations: 422.7 kB / 0.8661 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009467/0.3724, allocations: 0.6167 MB / 0.8667 GB, free: 5.855 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001282/0.3737, allocations: 1.185 MB / 0.8678 GB, free: 4.41 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00231/0.376, allocations: 1.872 MB / 0.8697 GB, free: 2.273 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.905e-05/0.376, allocations: 8 kB / 0.8697 GB, free: 2.266 MB / 0.6856 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003201/0.3793, allocations: 2.011 MB / 0.8716 GB, free: 240 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.214e-05/0.3793, allocations: 12 kB / 0.8716 GB, free: 228 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.652e-05/0.3794, allocations: 27.92 kB / 0.8717 GB, free: 200 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004171/0.3798, allocations: 155.3 kB / 0.8718 GB, free: 32 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.3809, allocations: 347.4 kB / 0.8721 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.974e-05/0.381, allocations: 39.86 kB / 0.8722 GB, free: 15.65 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/0.382, allocations: 123.8 kB / 0.8723 GB, free: 15.53 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.3822, allocations: 71.98 kB / 0.8724 GB, free: 15.46 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.001331/0.3835, allocations: 0.9847 MB / 0.8733 GB, free: 14.47 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002689/0.3838, allocations: 106.7 kB / 0.8734 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002033/0.3858, allocations: 1.234 MB / 0.8746 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.3858, allocations: 8 kB / 0.8746 GB, free: 13.1 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.445e-05/0.3859, allocations: 7.984 kB / 0.8747 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.3859, allocations: 0 / 0.8747 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006117/0.392, allocations: 3.794 MB / 0.8784 GB, free: 9.145 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.392, allocations: 4.25 kB / 0.8784 GB, free: 9.141 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005745/0.3926, allocations: 159.8 kB / 0.8785 GB, free: 8.984 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003429/0.393, allocations: 135.3 kB / 0.8786 GB, free: 8.84 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-05/0.393, allocations: 20 kB / 0.8787 GB, free: 8.82 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.046e-05/0.393, allocations: 11.92 kB / 0.8787 GB, free: 8.809 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.3931, allocations: 7.938 kB / 0.8787 GB, free: 8.801 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001913/0.395, allocations: 1.461 MB / 0.8801 GB, free: 7.285 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005334/0.3955, allocations: 271.7 kB / 0.8804 GB, free: 7 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002219/0.3958, allocations: 23.92 kB / 0.8804 GB, free: 6.977 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006609/0.3964, allocations: 67.91 kB / 0.8805 GB, free: 6.91 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.3966, allocations: 64.36 kB / 0.8805 GB, free: 6.848 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.078e-05/0.3966, allocations: 20 kB / 0.8805 GB, free: 6.828 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009857/0.3976, allocations: 0.6914 MB / 0.8812 GB, free: 6.125 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3976, allocations: 0 / 0.8812 GB, free: 6.125 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001384/0.399, allocations: 392 kB / 0.8816 GB, free: 5.742 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.002383/0.4014, allocations: 2.044 MB / 0.8836 GB, free: 3.629 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002393/0.4038, allocations: 1.715 MB / 0.8853 GB, free: 1.828 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4038, allocations: 64 / 0.8853 GB, free: 1.828 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009101/0.4048, allocations: 0.858 MB / 0.8861 GB, free: 0.8867 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/0.4063, allocations: 272.6 kB / 0.8864 GB, free: 0.625 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0179/0.4242, allocations: 12.86 MB / 0.8989 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001993/0.4262, allocations: 1.912 MB / 0.9008 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001134/0.4274, allocations: 449.4 kB / 0.9012 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/0.4284, allocations: 0.7141 MB / 0.9019 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of SimCode: time 1.413e-06/0.4284, allocations: 0 / 0.9019 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4468/0.8753, allocations: 27.31 MB / 0.9286 GB, free: 129 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/11.4, allocations: 14.45 kB / 0.9286 GB, free: 129 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)