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.294/1.294, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.0008256/0.0008255, allocations: 174.9 kB / 325.8 MB, free: 2.684 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.488/1.488, allocations: 205 MB / 0.576 GB, free: 21 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.000663/0.000663, allocations: 88.41 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000375/0.0003749, allocations: 8.906 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1689, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01118/0.1801, allocations: 15.58 MB / 0.9114 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00592/0.186, allocations: 4.891 MB / 0.9162 GB, free: 47.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005816/0.1866, allocations: 59.69 kB / 0.9163 GB, free: 47.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001761/0.1884, allocations: 0.9515 MB / 0.9172 GB, free: 46.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001014/0.1894, allocations: 0.6963 MB / 0.9179 GB, free: 45.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001393/0.1908, allocations: 0.8441 MB / 0.9187 GB, free: 44.97 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002678/0.1935, allocations: 5.252 MB / 0.9238 GB, free: 39.71 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004714/0.1982, allocations: 5.39 MB / 0.9291 GB, free: 34.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001169/0.1994, allocations: 1.132 MB / 0.9302 GB, free: 33.11 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001121/0.2006, allocations: 1.503 MB / 0.9317 GB, free: 31.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001946/0.2008, allocations: 140 kB / 0.9318 GB, free: 31.47 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009683/0.2017, allocations: 0.737 MB / 0.9325 GB, free: 30.73 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0005961/0.2023, allocations: 1.076 MB / 0.9336 GB, free: 29.65 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0006941/0.203, allocations: 1.162 MB / 0.9347 GB, free: 28.48 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002452/0.2055, allocations: 4.887 MB / 0.9395 GB, free: 23.58 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2055, allocations: 0 / 0.9395 GB, free: 23.58 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2055, allocations: 0 / 0.9395 GB, free: 23.58 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.767e-05/0.2056, allocations: 7.938 kB / 0.9395 GB, free: 23.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.002755/0.2083, allocations: 2.167 MB / 0.9416 GB, free: 21.35 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.2084, allocations: 15.97 kB / 0.9416 GB, free: 21.33 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003338/0.2087, allocations: 374.4 kB / 0.942 GB, free: 20.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003085/0.2118, allocations: 0.8367 MB / 0.9428 GB, free: 20.12 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001711/0.2135, allocations: 1.501 MB / 0.9442 GB, free: 18.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.478e-05/0.2136, allocations: 177.1 kB / 0.9444 GB, free: 18.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000259/0.2139, allocations: 236.4 kB / 0.9446 GB, free: 18.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004307/0.2182, allocations: 4.165 MB / 0.9487 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.585e-05/0.2183, allocations: 3.938 kB / 0.9487 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001938/0.2185, allocations: 99.98 kB / 0.9488 GB, free: 13.76 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001204/0.2186, allocations: 172.5 kB / 0.949 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003938/0.2225, allocations: 3.636 MB / 0.9525 GB, free: 9.934 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0137/0.2362, allocations: 16.56 MB / 0.9687 GB, free: 7.934 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002986/0.2393, allocations: 2.304 MB / 0.9709 GB, free: 5.418 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007466/0.24, allocations: 0.5818 MB / 0.9715 GB, free: 4.832 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001396/0.2402, allocations: 93.67 kB / 0.9716 GB, free: 4.723 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.2402, allocations: 47.06 kB / 0.9716 GB, free: 4.668 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=72): time 3.627e-06/0.2402, allocations: 3.938 kB / 0.9716 GB, free: 4.664 MB / 0.6198 GB Notification: Performance of matching and sorting (n=76): time 0.004931/0.2452, allocations: 3.452 MB / 0.975 GB, free: 1.109 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.2452, allocations: 111.5 kB / 0.9751 GB, free: 0.9766 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.2463, allocations: 1.014 MB / 0.9761 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.255e-05/0.2464, allocations: 41.7 kB / 0.9762 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006245/0.247, allocations: 1.103 MB / 0.9772 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001771/0.2472, allocations: 272.2 kB / 0.9775 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.2473, allocations: 113.7 kB / 0.9776 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.2475, allocations: 418.6 kB / 0.978 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008154/0.2483, allocations: 0.6246 MB / 0.9786 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/0.2495, allocations: 1.197 MB / 0.9798 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002114/0.2517, allocations: 1.876 MB / 0.9816 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.2517, allocations: 4 kB / 0.9816 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002757/0.2544, allocations: 2.022 MB / 0.9836 GB, free: 7.688 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.2545, allocations: 12 kB / 0.9836 GB, free: 7.676 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-05/0.2545, allocations: 23.98 kB / 0.9836 GB, free: 7.652 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003924/0.2549, allocations: 163.9 kB / 0.9838 GB, free: 7.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.2559, allocations: 351.4 kB / 0.9841 GB, free: 7.137 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.795e-05/0.256, allocations: 39.86 kB / 0.9842 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009055/0.2569, allocations: 139.6 kB / 0.9843 GB, free: 6.961 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.815e-05/0.257, allocations: 71.98 kB / 0.9844 GB, free: 6.891 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.001362/0.2584, allocations: 0.9693 MB / 0.9853 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/0.2586, allocations: 106.7 kB / 0.9854 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001984/0.2606, allocations: 1.245 MB / 0.9866 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.2606, allocations: 8 kB / 0.9866 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.2606, allocations: 0 / 0.9866 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.2606, allocations: 7.984 kB / 0.9866 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005321/0.2659, allocations: 3.823 MB / 0.9904 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.266, allocations: 7.938 kB / 0.9904 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005885/0.2666, allocations: 159.8 kB / 0.9905 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003547/0.2669, allocations: 139.3 kB / 0.9907 GB, free: 244 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-05/0.267, allocations: 16 kB / 0.9907 GB, free: 228 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-05/0.267, allocations: 16.06 kB / 0.9907 GB, free: 212 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.267, allocations: 7.938 kB / 0.9907 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001871/0.2689, allocations: 1.468 MB / 0.9921 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004397/0.2694, allocations: 271.8 kB / 0.9924 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001642/0.2695, allocations: 15.94 kB / 0.9924 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005712/0.2701, allocations: 79.89 kB / 0.9925 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.2703, allocations: 64.36 kB / 0.9925 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.663e-05/0.2703, allocations: 20 kB / 0.9926 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0009215/0.2712, allocations: 0.6953 MB / 0.9932 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2712, allocations: 0 / 0.9932 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001305/0.2726, allocations: 396.1 kB / 0.9936 GB, free: 13.12 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.002221/0.2748, allocations: 2.048 MB / 0.9956 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002286/0.2771, allocations: 1.718 MB / 0.9973 GB, free: 9.211 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.2771, allocations: 0 / 0.9973 GB, free: 9.211 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008506/0.278, allocations: 0.8637 MB / 0.9981 GB, free: 8.258 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001512/0.2795, allocations: 261.8 kB / 0.9984 GB, free: 8.004 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01901/0.2985, allocations: 14.3 MB / 1.012 GB, free: 8.848 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001932/0.3005, allocations: 1.92 MB / 1.014 GB, free: 6.895 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001113/0.3016, allocations: 453.3 kB / 1.015 GB, free: 6.449 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007691/0.3024, allocations: 0.718 MB / 1.015 GB, free: 5.73 MB / 0.6667 GB Notification: Performance of SimCode: time 6.11e-07/0.3024, allocations: 0 / 1.015 GB, free: 5.73 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5077/0.8101, allocations: 26.45 MB / 1.041 GB, free: 11.61 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002004/0.8104, allocations: 264.2 kB / 1.041 GB, free: 11.32 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.823/3.633, allocations: 0 / 1.041 GB, free: 11.32 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)